staging: rtl8192e: Rename dm_CheckRfCtrlGPIO
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:36 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:05 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_CheckRfCtrlGPIO to _rtl92e_dm_check_rf_ctrl_gpio.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index f80c01d09d490f0c9dfc3fabb9640113c0057e4d..160c53f2c2b298ded233168a8ed450c542f517af 100644 (file)
@@ -205,7 +205,7 @@ static void dm_deInit_fsync(struct net_device *dev);
 static void dm_check_txrateandretrycount(struct net_device *dev);
 static  void _rtl92e_dm_check_ac_dc_power(struct net_device *dev);
 static void _rtl92e_dm_check_fsync(struct net_device *dev);
-static void dm_CheckRfCtrlGPIO(void *data);
+static void _rtl92e_dm_check_rf_ctrl_gpio(void *data);
 static void dm_fsync_timer_callback(unsigned long data);
 
 /*---------------------Define local function prototype-----------------------*/
@@ -240,7 +240,7 @@ void rtl92e_dm_init(struct net_device *dev)
                dm_Init_WA_Broadcom_IOT(dev);
 
        INIT_DELAYED_WORK_RSL(&priv->gpio_change_rf_wq,
-                             (void *)dm_CheckRfCtrlGPIO, dev);
+                             (void *)_rtl92e_dm_check_rf_ctrl_gpio, dev);
 }
 
 void rtl92e_dm_deinit(struct net_device *dev)
@@ -1841,7 +1841,7 @@ static void _rtl92e_dm_check_pbc_gpio(struct net_device *dev)
 {
 }
 
-static void dm_CheckRfCtrlGPIO(void *data)
+static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
 {
        struct r8192_priv *priv = container_of_dwork_rsl(data,
                                  struct r8192_priv, gpio_change_rf_wq);