staging: wilc1000: rename pUserVoid in refresh_scan function
authorLeo Kim <leo.kim@atmel.com>
Thu, 19 Nov 2015 06:56:23 +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
first argument of refresh_scan 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 e72608b0df423cd39dad4e8b9c59bf92723e87cc..e987e78217eaa837dbfa3040c96269ba55c85f94 100644 (file)
@@ -237,7 +237,7 @@ static u32 get_rssi_avg(tstrNetworkInfo *pstrNetworkInfo)
        return rssi_v;
 }
 
-static void refresh_scan(void *pUserVoid, u8 all, bool bDirectScan)
+static void refresh_scan(void *user_void, u8 all, bool bDirectScan)
 {
        struct wilc_priv *priv;
        struct wiphy *wiphy;
@@ -245,7 +245,7 @@ static void refresh_scan(void *pUserVoid, u8 all, bool bDirectScan)
        int i;
        int rssi = 0;
 
-       priv = (struct wilc_priv *)pUserVoid;
+       priv = (struct wilc_priv *)user_void;
        wiphy = priv->dev->ieee80211_ptr->wiphy;
 
        for (i = 0; i < last_scanned_cnt; i++) {