staging: wilc1000: rename pUserVoid in CfgScanResult function
authorLeo Kim <leo.kim@atmel.com>
Thu, 19 Nov 2015 06:56:33 +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
third argument of CfgScanResult 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 b0d1ed3..0b03e54 100644 (file)
@@ -421,7 +421,7 @@ static void add_network_to_shadow(tstrNetworkInfo *pstrNetworkInfo,
  */
 static void CfgScanResult(enum scan_event scan_event,
                          tstrNetworkInfo *network_info,
-                         void *pUserVoid,
+                         void *user_void,
                          void *pJoinParams)
 {
        struct wilc_priv *priv;
@@ -430,7 +430,7 @@ static void CfgScanResult(enum scan_event scan_event,
        struct ieee80211_channel *channel;
        struct cfg80211_bss *bss = NULL;
 
-       priv = (struct wilc_priv *)pUserVoid;
+       priv = (struct wilc_priv *)user_void;
        if (priv->bCfgScanning) {
                if (scan_event == SCAN_EVENT_NETWORK_FOUND) {
                        wiphy = priv->dev->ieee80211_ptr->wiphy;