staging: rtl8192e: Rename rtl8192_hw_sleep_wq
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:33:51 +0000 (19:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:26:25 +0000 (21:26 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_hw_sleep_wq to rtl92e_hw_sleep_wq.

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

index f5dcd026c7d4589e7d8dd0af8f4a11b6c8fc5347..5fc2103a0352207f3c7bad3ace59da3b657365f7 100644 (file)
@@ -1037,7 +1037,7 @@ static void rtl8192_init_priv_task(struct net_device *dev)
        INIT_DELAYED_WORK_RSL(&priv->rtllib->hw_wakeup_wq,
                              (void *) rtl8192_hw_wakeup_wq, dev);
        INIT_DELAYED_WORK_RSL(&priv->rtllib->hw_sleep_wq,
-                             (void *) rtl8192_hw_sleep_wq, dev);
+                             (void *) rtl92e_hw_sleep_wq, dev);
        tasklet_init(&priv->irq_rx_tasklet,
                     (void(*)(unsigned long))rtl8192_irq_rx_tasklet,
                     (unsigned long)priv);
index 4938be77c7b1a347a589884cc6e28036a87d380b..397e93c3e224ed2697fa04414626f1e927366abb 100644 (file)
@@ -590,7 +590,7 @@ void force_pci_posting(struct net_device *dev);
 void rtl92e_rx_enable(struct net_device *);
 void rtl92e_tx_enable(struct net_device *);
 
-void rtl8192_hw_sleep_wq(void *data);
+void rtl92e_hw_sleep_wq(void *data);
 void rtl92e_commit(struct net_device *dev);
 
 void rtl92e_check_rfctrl_gpio_timer(unsigned long data);
index cd117f54938783d88877a68033bf52e985118e64..6bdd0f2ff741d263130f5349c03a199daab1a6d0 100644 (file)
@@ -48,7 +48,7 @@ static void rtl8192_hw_sleep_down(struct net_device *dev)
        rtl92e_set_rf_state(dev, eRfSleep, RF_CHANGE_BY_PS, false);
 }
 
-void rtl8192_hw_sleep_wq(void *data)
+void rtl92e_hw_sleep_wq(void *data)
 {
        struct rtllib_device *ieee = container_of_dwork_rsl(data,
                                     struct rtllib_device, hw_sleep_wq);