From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:22 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_hw_sleep_down X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3831d405e43380bf11920958e9dc44f28cd53ef1;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename rtl8192_hw_sleep_down Use naming schema found in other rtlwifi devices. Rename rtl8192_hw_sleep_down to _rtl92e_hw_sleep. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c index 137b940ab706..6fb590dbe70b 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c @@ -30,7 +30,7 @@ #include "r8192E_cmdpkt.h" #include -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)