staging: rtl8192u: Add or remove blank lines as required
This patch fixes the file r8190_rtl8256.c to avoid the following checkpatch.pl warnings: CHECK: Blank lines aren't necessary before a close brace '}' CHECK: Please use a blank line after function/struct/union/enum declarations CHECK: Please don't use multiple blank line Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com> Link: https://lore.kernel.org/r/20190826182227.30738-1-sylphrenadin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8c10170fe1
commit
48d911f29e
|
@ -79,10 +79,10 @@ void phy_set_rf8256_bandwidth(struct net_device *dev, enum ht_channel_width Band
|
|||
default:
|
||||
RT_TRACE(COMP_ERR, "phy_set_rf8256_bandwidth(): unknown Bandwidth: %#X\n", Bandwidth);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* Overview: Interface to config 8256
|
||||
* Input: struct net_device* dev
|
||||
|
@ -101,6 +101,7 @@ void phy_rf8256_config(struct net_device *dev)
|
|||
/* Config BB and RF */
|
||||
phy_rf8256_config_para_file(dev);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* Overview: Interface to config 8256
|
||||
* Input: struct net_device* dev
|
||||
|
@ -215,7 +216,6 @@ static void phy_rf8256_config_para_file(struct net_device *dev)
|
|||
RT_TRACE(COMP_ERR, "phy_rf8256_config_para_file():Radio[%d] Fail!!", eRFPath);
|
||||
goto phy_RF8256_Config_ParaFile_Fail;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
RT_TRACE(COMP_PHY, "PHY Initialization Success\n");
|
||||
|
@ -225,11 +225,11 @@ phy_RF8256_Config_ParaFile_Fail:
|
|||
RT_TRACE(COMP_ERR, "PHY Initialization failed\n");
|
||||
}
|
||||
|
||||
|
||||
void phy_set_rf8256_cck_tx_power(struct net_device *dev, u8 powerlevel)
|
||||
{
|
||||
u32 TxAGC = 0;
|
||||
struct r8192_priv *priv = ieee80211_priv(dev);
|
||||
|
||||
TxAGC = powerlevel;
|
||||
|
||||
if (priv->bDynamicTxLowPower) {
|
||||
|
@ -244,7 +244,6 @@ void phy_set_rf8256_cck_tx_power(struct net_device *dev, u8 powerlevel)
|
|||
rtl8192_setBBreg(dev, rTxAGC_CCK_Mcs32, bTxAGCRateCCK, TxAGC);
|
||||
}
|
||||
|
||||
|
||||
void phy_set_rf8256_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
|
||||
{
|
||||
struct r8192_priv *priv = ieee80211_priv(dev);
|
||||
|
@ -293,5 +292,4 @@ void phy_set_rf8256_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
|
|||
rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue