staging: wilc1000: rename ListenTimerCB to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 19 Feb 2018 15:29:41 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2018 17:12:53 +0000 (18:12 +0100)
Fix "Avoid camelCase" issue found 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/host_interface.c

index 6e39766c788aedc5ab4b21be4001fd995b126453..6dd1061a6efaa14065c30957feb02462b27c7684 100644 (file)
@@ -2362,7 +2362,7 @@ _done_:
        return result;
 }
 
-static void ListenTimerCB(struct timer_list *t)
+static void listen_timer_cb(struct timer_list *t)
 {
        struct host_if_drv *hif_drv = from_timer(hif_drv, t,
                                                      remain_on_ch_timer);
@@ -3387,7 +3387,7 @@ int wilc_init(struct net_device *dev, struct host_if_drv **hif_drv_handler)
 
        timer_setup(&hif_drv->scan_timer, timer_scan_cb, 0);
        timer_setup(&hif_drv->connect_timer, timer_connect_cb, 0);
-       timer_setup(&hif_drv->remain_on_ch_timer, ListenTimerCB, 0);
+       timer_setup(&hif_drv->remain_on_ch_timer, listen_timer_cb, 0);
 
        mutex_init(&hif_drv->cfg_values_lock);
        mutex_lock(&hif_drv->cfg_values_lock);