staging: wilc1000: rename clear_duringIP() to avoid camelCase issue

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>
This commit is contained in:
Ajay Singh 2018-05-11 13:43:13 +05:30 committed by Greg Kroah-Hartman
parent 151c8b920c
commit 50fdf8142d

View 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++;