staging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:55 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
to hif_drv_handler 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 819306b7e9b6f1bb7c5e60f5e43c1ce9a63e4922..96c6d4a96024a4eabb575bd23da725749460a438 100644 (file)
@@ -349,18 +349,17 @@ static s32 Handle_SetChannel(struct host_if_drv *hif_drv,
 }
 
 static s32 Handle_SetWfiDrvHandler(struct host_if_drv *hif_drv,
-                                  struct drv_handler *pstrHostIfSetDrvHandler)
+                                   struct drv_handler *hif_drv_handler)
 {
        s32 result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_SET_DRV_HANDLER;
        wid.type = WID_INT;
-       wid.val = (s8 *)&pstrHostIfSetDrvHandler->handler;
+       wid.val = (s8 *)&hif_drv_handler->handler;
        wid.size = sizeof(u32);
 
-       result = send_config_pkt(SET_CFG, &wid, 1,
-                                pstrHostIfSetDrvHandler->handler);
+       result = send_config_pkt(SET_CFG, &wid, 1, hif_drv_handler->handler);
 
        if (!hif_drv)
                up(&hif_sema_driver);