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

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_ps.c
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h

index d872907..d5dbf4f 100644 (file)
@@ -895,7 +895,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->SetFwCmdHandler = NULL;
        priv->rtllib->InitialGainHandler = rtl92e_init_gain;
        priv->rtllib->rtllib_ips_leave_wq = rtllib_ips_leave_wq;
-       priv->rtllib->rtllib_ips_leave = rtllib_ips_leave;
+       priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave;
 
        priv->rtllib->LedControlHandler = NULL;
        priv->rtllib->UpdateBeaconInterruptHandler = NULL;
index be5961d..3dff7db 100644 (file)
@@ -214,7 +214,7 @@ void rtllib_ips_leave_wq(struct net_device *dev)
        }
 }
 
-void rtllib_ips_leave(struct net_device *dev)
+void rtl92e_rtllib_ips_leave(struct net_device *dev)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
 
index 1a8d1bf..f789af7 100644 (file)
@@ -34,7 +34,7 @@ struct net_device;
 void rtl92e_hw_wakeup(struct net_device *dev);
 void rtl92e_enter_sleep(struct net_device *dev, u64 time);
 void rtllib_ips_leave_wq(struct net_device *dev);
-void rtllib_ips_leave(struct net_device *dev);
+void rtl92e_rtllib_ips_leave(struct net_device *dev);
 void rtl92e_ips_leave_wq(void *data);
 
 void rtl92e_ips_enter(struct net_device *dev);