]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename pUserVoid in add_network_to_shadow function
authorLeo Kim <leo.kim@atmel.com>
Thu, 19 Nov 2015 06:56:30 +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 add_network_to_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 5a9d0e23dffcfc02a21584c5938ebcb1dfce5bd4..7905f37c241b3f17e220b6926a25357615859672 100644 (file)
@@ -354,9 +354,10 @@ static int is_network_in_shadow(tstrNetworkInfo *pstrNetworkInfo,
        return state;
 }
 
-static void add_network_to_shadow(tstrNetworkInfo *pstrNetworkInfo, void *pUserVoid, void *pJoinParams)
+static void add_network_to_shadow(tstrNetworkInfo *pstrNetworkInfo,
+                                 void *user_void, void *pJoinParams)
 {
-       int ap_found = is_network_in_shadow(pstrNetworkInfo, pUserVoid);
+       int ap_found = is_network_in_shadow(pstrNetworkInfo, user_void);
        u32 ap_index = 0;
        u8 rssi_index = 0;