staging: wilc1000: rename pUserVoid in is_network_in_shadow function
authorLeo Kim <leo.kim@atmel.com>
Thu, 19 Nov 2015 06:56:29 +0000 (15:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:34:41 +0000 (14:34 -0800)
This patch renames pUserVoid to user_void that is
second argument of is_network_in_shadow 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_wfi_cfgoperations.c

index 56005f6e517453dc7f56c8d56fd69f5ab272e57a..5a9d0e23dffcfc02a21584c5938ebcb1dfce5bd4 100644 (file)
@@ -330,14 +330,15 @@ static void clear_duringIP(unsigned long arg)
        wilc_optaining_ip = false;
 }
 
-static int is_network_in_shadow(tstrNetworkInfo *pstrNetworkInfo, void *pUserVoid)
+static int is_network_in_shadow(tstrNetworkInfo *pstrNetworkInfo,
+                               void *user_void)
 {
        int state = -1;
        int i;
 
        if (last_scanned_cnt == 0) {
                PRINT_D(CFG80211_DBG, "Starting Aging timer\n");
-               hAgingTimer.data = (unsigned long)pUserVoid;
+               hAgingTimer.data = (unsigned long)user_void;
                mod_timer(&hAgingTimer, jiffies + msecs_to_jiffies(AGING_TIME));
                state = -1;
        } else {