staging: wilc1000: rename clear_duringIP() to avoid camelCase issue
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 11 May 2018 08:13:13 +0000 (13:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:04:48 +0000 (14:04 +0200)
Rename clear_duringIP() function to avoid camelCase issue reported by
checkpatch.pl script.

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

index 1408ebde4196d733f3660c4e7f6b608659a5285b..9afba4d8945fa68a6bf39cd006ddc2e950c44b22 100644 (file)
@@ -269,7 +269,7 @@ static void remove_network_from_shadow(struct timer_list *unused)
                mod_timer(&aging_timer, jiffies + msecs_to_jiffies(AGING_TIME));
 }
 
-static void clear_duringIP(struct timer_list *unused)
+static void clear_during_ip(struct timer_list *unused)
 {
        wilc_optaining_ip = false;
 }
@@ -2262,7 +2262,7 @@ int wilc_init_host_int(struct net_device *net)
        priv = wdev_priv(net->ieee80211_ptr);
        if (op_ifcs == 0) {
                timer_setup(&aging_timer, remove_network_from_shadow, 0);
-               timer_setup(&wilc_during_ip_timer, clear_duringIP, 0);
+               timer_setup(&wilc_during_ip_timer, clear_during_ip, 0);
        }
        op_ifcs++;