]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename u32address in host_int_set_wfi_drv_handler
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 5 Oct 2015 10:34:48 +0000 (19:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:58:24 +0000 (10:58 +0100)
This patch replaces u32address with address to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index dcd2d5c26a10d244ae5ab6f590826662afcce0c8..8311d53f923b1a106d028fc4db17ee9e71d2664b 100644 (file)
@@ -5259,7 +5259,7 @@ int host_int_wait_msg_queue_idle(void)
        return result;
 }
 
-int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address)
+int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *address)
 {
        int result = 0;
 
@@ -5270,8 +5270,8 @@ int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address)
 
        memset(&msg, 0, sizeof(struct host_if_msg));
        msg.id = HOST_IF_MSG_SET_WFIDRV_HANDLER;
-       msg.body.drv.u32Address = get_id_from_handler(u32address);
-       msg.drvHandler = u32address;
+       msg.body.drv.u32Address = get_id_from_handler(address);
+       msg.drvHandler = address;
 
        result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
        if (result) {
index 6e3980909ad8865cf8e6c213c51569d464b27391..314cd41902624c52b92868b423d8ff71973ea83c 100644 (file)
@@ -1186,7 +1186,7 @@ s32 host_int_frame_register(tstrWILC_WFIDrv *hWFIDrv, u16 u16FrameType, bool bRe
  *  @date
  *  @version   1.0
  */
-int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address);
+int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *address);
 s32 host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode);
 
 static s32 Handle_ScanDone(tstrWILC_WFIDrv *drvHandler, tenuScanEvent enuEvent);