]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: wilc1000: rename GetPeriodicRSSI to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 19 Feb 2018 15:29:42 +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 6dd1061a6efaa14065c30957feb02462b27c7684..4cbfe3bd6d4672d807b9cabf4a9970410768e2d2 100644 (file)
@@ -3316,7 +3316,7 @@ int wilc_hif_set_cfg(struct wilc_vif *vif,
        return wilc_enqueue_cmd(&msg);
 }
 
-static void GetPeriodicRSSI(struct timer_list *unused)
+static void get_periodic_rssi(struct timer_list *unused)
 {
        struct wilc_vif *vif = periodic_rssi_vif;
 
@@ -3381,7 +3381,7 @@ int wilc_init(struct net_device *dev, struct host_if_drv **hif_drv_handler)
                }
 
                periodic_rssi_vif = vif;
-               timer_setup(&periodic_rssi, GetPeriodicRSSI, 0);
+               timer_setup(&periodic_rssi, get_periodic_rssi, 0);
                mod_timer(&periodic_rssi, jiffies + msecs_to_jiffies(5000));
        }