]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename drvHandler in wilc_wlan_cfg_commit function
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:13:08 +0000 (11:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch rename drvHandler to drv_handler that is third argument of
wilc_wlan_cfg_commit function to avoid camelcase.

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/wilc_wlan.c

index d7834c5c31306b2d5305c5e15abc8002ed008c47..2e1d9b8796cde30ea492b4126b97b4327cc29458 100644 (file)
@@ -1449,13 +1449,13 @@ void wilc_wlan_cleanup(struct net_device *dev)
        p->hif_func.hif_deinit(NULL);
 }
 
-static int wilc_wlan_cfg_commit(int type, u32 drvHandler)
+static int wilc_wlan_cfg_commit(int type, u32 drv_handler)
 {
        wilc_wlan_dev_t *p = &g_wlan;
        wilc_cfg_frame_t *cfg = &p->cfg_frame;
        int total_len = p->cfg_frame_offset + 4 + DRIVER_HANDLER_SIZE;
        int seq_no = p->cfg_seq_no % 256;
-       int driver_handler = (u32)drvHandler;
+       int driver_handler = (u32)drv_handler;
 
        if (type == WILC_CFG_SET)
                cfg->wid_header[0] = 'W';