OSDN Git Service

staging: wilc1000: rename CfgScanResult to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 7 Mar 2018 01:32:23 +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 2fda90d..051ba12 100644 (file)
@@ -363,10 +363,9 @@ static void add_network_to_shadow(struct network_info *nw_info,
        last_scanned_shadow[ap_index].join_params = pJoinParams;
 }
 
-static void CfgScanResult(enum scan_event scan_event,
-                         struct network_info *network_info,
-                         void *user_void,
-                         void *join_params)
+static void cfg_scan_result(enum scan_event scan_event,
+                           struct network_info *network_info,
+                           void *user_void, void *join_params)
 {
        struct wilc_priv *priv;
        struct wiphy *wiphy;
@@ -622,14 +621,14 @@ static int scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
                                        au8ScanChanList,
                                        request->n_channels,
                                        (const u8 *)request->ie,
-                                       request->ie_len, CfgScanResult,
+                                       request->ie_len, cfg_scan_result,
                                        (void *)priv, &hidden_ntwk);
                } else {
                        ret = wilc_scan(vif, USER_SCAN, ACTIVE_SCAN,
                                        au8ScanChanList,
                                        request->n_channels,
                                        (const u8 *)request->ie,
-                                       request->ie_len, CfgScanResult,
+                                       request->ie_len, cfg_scan_result,
                                        (void *)priv, NULL);
                }
        } else {