From 90cc1250046ef2d36947e3be9368db557ad998b3 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:19:28 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_bb_initialgain_restore Use naming schema found in other rtlwifi devices. Rename dm_bb_initialgain_restore to _rtl92e_dm_bb_initialgain_restore. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 6c1061e0dd9e..785eff6bc83a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -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; -- 2.20.1