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

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

index 43fcdf7348979c2c2f27c566362400e61ce24153..f8a6820050da44a79e783cf3236ceb143e10413d 100644 (file)
@@ -2293,7 +2293,7 @@ static void dm_StartHWFsync(struct net_device *dev)
        rtl92e_writeb(dev, 0xc3b, 0x41);
 }
 
-static void dm_EndHWFsync(struct net_device *dev)
+static void _rtl92e_dm_end_hw_fsync(struct net_device *dev)
 {
        u8 rf_timing = 0xaa;
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -2404,7 +2404,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
                                priv->rtllib->fsync_state = SW_Fsync;
                                break;
                        case HW_Fsync:
-                               dm_EndHWFsync(dev);
+                               _rtl92e_dm_end_hw_fsync(dev);
                                dm_StartSWFsync(dev);
                                priv->rtllib->fsync_state = SW_Fsync;
                                break;
@@ -2424,7 +2424,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
        } else {
                switch (priv->rtllib->fsync_state) {
                case HW_Fsync:
-                       dm_EndHWFsync(dev);
+                       _rtl92e_dm_end_hw_fsync(dev);
                        priv->rtllib->fsync_state = Default_Fsync;
                        break;
                case SW_Fsync: