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

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 11ca8823c8e5292d7304437cadb10d9977d2755b..26a61f38166afb08401697e9eedffd355b8d8c33 100644 (file)
@@ -180,7 +180,7 @@ static void _rtl92e_dm_bb_initialgain_backup(struct net_device *dev);
 static void dm_dig_init(struct net_device *dev);
 static void dm_ctrl_initgain_byrssi(struct net_device *dev);
 static void dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev);
-static void dm_ctrl_initgain_byrssi_by_driverrssi(struct net_device *dev);
+static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev);
 static void dm_ctrl_initgain_byrssi_by_fwfalse_alarm(struct net_device *dev);
 static void dm_initial_gain(struct net_device *dev);
 static void dm_pd_th(struct net_device *dev);
@@ -1331,7 +1331,7 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev)
        if (dm_digtable.dig_algorithm == DIG_ALGO_BY_FALSE_ALARM)
                dm_ctrl_initgain_byrssi_by_fwfalse_alarm(dev);
        else if (dm_digtable.dig_algorithm == DIG_ALGO_BY_RSSI)
-               dm_ctrl_initgain_byrssi_by_driverrssi(dev);
+               _rtl92e_dm_ctrl_initgain_byrssi_driver(dev);
        else
                return;
 }
@@ -1354,8 +1354,7 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev)
  *
  *---------------------------------------------------------------------------*/
 
-static void dm_ctrl_initgain_byrssi_by_driverrssi(
-       struct net_device *dev)
+static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u8 i;