staging: rtl8192e: Rename dm_EndSWFsync
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:51 +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_EndSWFsync to _rtl92e_dm_end_sw_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 f8a6820050da44a79e783cf3236ceb143e10413d..c9b28dfa0f2f5f10bed633a16bbdcb44df669326 100644 (file)
@@ -2305,7 +2305,7 @@ static void _rtl92e_dm_end_hw_fsync(struct net_device *dev)
        rtl92e_writeb(dev, 0xc3b, 0x49);
 }
 
-static void dm_EndSWFsync(struct net_device *dev)
+static void _rtl92e_dm_end_sw_fsync(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -2389,7 +2389,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
                                priv->rtllib->fsync_state = HW_Fsync;
                                break;
                        case SW_Fsync:
-                               dm_EndSWFsync(dev);
+                               _rtl92e_dm_end_sw_fsync(dev);
                                dm_StartHWFsync(dev);
                                priv->rtllib->fsync_state = HW_Fsync;
                                break;
@@ -2428,7 +2428,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
                        priv->rtllib->fsync_state = Default_Fsync;
                        break;
                case SW_Fsync:
-                       dm_EndSWFsync(dev);
+                       _rtl92e_dm_end_sw_fsync(dev);
                        priv->rtllib->fsync_state = Default_Fsync;
                        break;
                case Default_Fsync: