From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:26 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_SwChnl_WorkItem X-Git-Tag: firefly_0821_release~176^2~802^2~1663 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=87602255efc10e410fb7336388491b132bc6daf5;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: Rename rtl8192_SwChnl_WorkItem Use naming schema found in other rtlwifi devices. Rename rtl8192_SwChnl_WorkItem to _rtl92e_phy_switch_channel_work_item. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index 5681b2c9d894..e2f833d999b1 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -988,7 +988,8 @@ static void _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel) break; } } -static void rtl8192_SwChnl_WorkItem(struct net_device *dev) + +static void _rtl92e_phy_switch_channel_work_item(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); @@ -1055,7 +1056,7 @@ u8 rtl92e_set_channel(struct net_device *dev, u8 channel) priv->SwChnlStep = 0; if (priv->up) - rtl8192_SwChnl_WorkItem(dev); + _rtl92e_phy_switch_channel_work_item(dev); priv->SwChnlInProgress = false; return true; }