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

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 6c1061e0dd9e653369a062eeb16fdcb613c507cd..785eff6bc83adca3ffb3acef49999365c9beb8d5 100644 (file)
@@ -174,12 +174,7 @@ static     void    _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev);
 
 static void    dm_check_txpower_tracking(struct net_device *dev);
 
-
-
-
-
-static void    dm_bb_initialgain_restore(struct net_device *dev);
-
+static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev);
 static void _rtl92e_dm_bb_initialgain_backup(struct net_device *dev);
 
 static void dm_dig_init(struct net_device *dev);
@@ -1215,11 +1210,11 @@ void rtl92e_dm_restore_state(struct net_device *dev)
        if (priv->btxpower_trackingInit && priv->btxpower_tracking)
                dm_txpower_reset_recovery(dev);
 
-       dm_bb_initialgain_restore(dev);
+       _rtl92e_dm_bb_initialgain_restore(dev);
 
 }
 
-static void dm_bb_initialgain_restore(struct net_device *dev)
+static void _rtl92e_dm_bb_initialgain_restore(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 bit_mask = 0x7f;