Commit 3942039a authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename PHY_SetRF8256CCKTxPower() - Style

Rename the function PHY_SetRF8256CCKTxPower() to
phy_set_rf8256_cck_tx_power(), to clear the checkpatch issue with
CamelCase naming.

This is a purely coding style change which should have no impact
on runtime code execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 319f9425
...@@ -226,7 +226,7 @@ static void phy_rf8256_config_para_file(struct net_device *dev) ...@@ -226,7 +226,7 @@ static void phy_rf8256_config_para_file(struct net_device *dev)
} }
void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel) void phy_set_rf8256_cck_tx_power(struct net_device *dev, u8 powerlevel)
{ {
u32 TxAGC = 0; u32 TxAGC = 0;
struct r8192_priv *priv = ieee80211_priv(dev); struct r8192_priv *priv = ieee80211_priv(dev);
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
void phy_set_rf8256_bandwidth(struct net_device *dev, void phy_set_rf8256_bandwidth(struct net_device *dev,
enum ht_channel_width bandwidth); enum ht_channel_width bandwidth);
void phy_rf8256_config(struct net_device *dev); void phy_rf8256_config(struct net_device *dev);
void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); void phy_set_rf8256_cck_tx_power(struct net_device *dev, u8 powerlevel);
void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel); void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
#endif #endif
...@@ -918,7 +918,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel) ...@@ -918,7 +918,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel)
switch (priv->rf_chip) { switch (priv->rf_chip) {
case RF_8256: case RF_8256:
/* need further implement */ /* need further implement */
PHY_SetRF8256CCKTxPower(dev, powerlevel); phy_set_rf8256_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G); PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
break; break;
default: default:
...@@ -1066,7 +1066,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel) ...@@ -1066,7 +1066,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel)
break; break;
case RF_8256: case RF_8256:
PHY_SetRF8256CCKTxPower(dev, powerlevel); phy_set_rf8256_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G); PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment