OSDN Git Service

staging: wilc1000: rename pJoinParams to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 7 Mar 2018 01:32:29 +0000 (07:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 11:59:04 +0000 (12:59 +0100)
Fix 'Avoid camelCase' issue found by checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index a93c550..9da686b 100644 (file)
@@ -315,7 +315,7 @@ static int is_network_in_shadow(struct network_info *nw_info, void *user_void)
 }
 
 static void add_network_to_shadow(struct network_info *nw_info,
-                                 void *user_void, void *pJoinParams)
+                                 void *user_void, void *join_params)
 {
        int ap_found = is_network_in_shadow(nw_info, user_void);
        u32 ap_index = 0;
@@ -360,7 +360,7 @@ static void add_network_to_shadow(struct network_info *nw_info,
        last_scanned_shadow[ap_index].found = 1;
        if (ap_found != -1)
                kfree(last_scanned_shadow[ap_index].join_params);
-       last_scanned_shadow[ap_index].join_params = pJoinParams;
+       last_scanned_shadow[ap_index].join_params = join_params;
 }
 
 static void cfg_scan_result(enum scan_event scan_event,