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

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

index 137b940ab7060fb569f1b18c6ce67d6951a1cd21..6fb590dbe70b97b557a47b2189ffe131ef45a036 100644 (file)
@@ -30,7 +30,7 @@
 #include "r8192E_cmdpkt.h"
 #include <linux/jiffies.h>
 
-static void rtl8192_hw_sleep_down(struct net_device *dev)
+static void _rtl92e_hw_sleep(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        unsigned long flags = 0;
@@ -39,7 +39,7 @@ static void rtl8192_hw_sleep_down(struct net_device *dev)
        if (priv->RFChangeInProgress) {
                spin_unlock_irqrestore(&priv->rf_ps_lock, flags);
                RT_TRACE(COMP_DBG,
-                        "rtl8192_hw_sleep_down(): RF Change in progress!\n");
+                        "_rtl92e_hw_sleep(): RF Change in progress!\n");
                return;
        }
        spin_unlock_irqrestore(&priv->rf_ps_lock, flags);
@@ -54,7 +54,7 @@ void rtl92e_hw_sleep_wq(void *data)
                                     struct rtllib_device, hw_sleep_wq);
        struct net_device *dev = ieee->dev;
 
-       rtl8192_hw_sleep_down(dev);
+       _rtl92e_hw_sleep(dev);
 }
 
 void rtl92e_hw_wakeup(struct net_device *dev)