mirror of https://gitee.com/openkylin/linux.git
staging: rtl8192e: Rename dm_TXPowerTrackingCallback_ThermalMeter
Use naming schema found in other rtlwifi devices. Rename dm_TXPowerTrackingCallback_ThermalMeter to _rtl92e_dm_tx_power_tracking_cb_thermal. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1b97c22064
commit
721d2f8dfe
|
@ -837,7 +837,7 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev)
|
||||||
rtl92e_writeb(dev, Pw_Track_Flag, 0);
|
rtl92e_writeb(dev, Pw_Track_Flag, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev)
|
static void _rtl92e_dm_tx_power_tracking_cb_thermal(struct net_device *dev)
|
||||||
{
|
{
|
||||||
#define ThermalMeterVal 9
|
#define ThermalMeterVal 9
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
struct r8192_priv *priv = rtllib_priv(dev);
|
||||||
|
@ -949,7 +949,7 @@ void rtl92e_dm_txpower_tracking_wq(void *data)
|
||||||
if (priv->IC_Cut >= IC_VersionCut_D)
|
if (priv->IC_Cut >= IC_VersionCut_D)
|
||||||
dm_TXPowerTrackingCallback_TSSI(dev);
|
dm_TXPowerTrackingCallback_TSSI(dev);
|
||||||
else
|
else
|
||||||
dm_TXPowerTrackingCallback_ThermalMeter(dev);
|
_rtl92e_dm_tx_power_tracking_cb_thermal(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev)
|
static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev)
|
||||||
|
|
Loading…
Reference in New Issue