]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename rtl8192_commit
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:12 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:21 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_commit to rtl92e_commit.

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_wx.c

index 64a03f314b439db132d67f27985a7d0a74e53a78..a6937aa84cf00c72b02b8ef96f73de7d77525e3f 100644 (file)
@@ -2276,7 +2276,7 @@ static int rtl8192_down(struct net_device *dev, bool shutdownrf)
        return 0;
 }
 
-void rtl8192_commit(struct net_device *dev)
+void rtl92e_commit(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -2296,7 +2296,7 @@ static void rtl8192_restart(void *data)
 
        down(&priv->wx_sem);
 
-       rtl8192_commit(dev);
+       rtl92e_commit(dev);
 
        up(&priv->wx_sem);
 }
index 5a7a54f9dc9b42c99420b1a3bce53c236b6cf69d..65679846484c11e6b2b45b4f4ac6feb588c9bec4 100644 (file)
@@ -591,7 +591,7 @@ void rtl8192_rx_enable(struct net_device *);
 void rtl8192_tx_enable(struct net_device *);
 
 void rtl8192_hw_sleep_wq(void *data);
-void rtl8192_commit(struct net_device *dev);
+void rtl92e_commit(struct net_device *dev);
 
 void rtl92e_check_rfctrl_gpio_timer(unsigned long data);
 
index 1b29f14dd2b24c8f7ab28a065596f672dadc9d83..29400eeda968b5644264a33dc2e5d6f07e215954 100644 (file)
@@ -824,7 +824,7 @@ static int r8192_wx_set_retry(struct net_device *dev,
        }
 
 
-       rtl8192_commit(dev);
+       rtl92e_commit(dev);
 exit:
        up(&priv->wx_sem);