staging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:54 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames pstrHostIFSetChan of fuction Handle_SetChannel to hif_set_ch
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 34b345516a92cd413c531de5cdef9e038461ccdf..819306b7e9b6f1bb7c5e60f5e43c1ce9a63e4922 100644 (file)
@@ -325,14 +325,14 @@ static struct host_if_drv *get_handler_from_id(int id)
 }
 
 static s32 Handle_SetChannel(struct host_if_drv *hif_drv,
-                            struct channel_attr *pstrHostIFSetChan)
+                             struct channel_attr *hif_set_ch)
 {
        s32 result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_CURRENT_CHANNEL;
        wid.type = WID_CHAR;
-       wid.val = (char *)&pstrHostIFSetChan->set_ch;
+       wid.val = (char *)&hif_set_ch->set_ch;
        wid.size = sizeof(char);
 
        PRINT_D(HOSTINF_DBG, "Setting channel\n");