summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtlwifi/rtl8822be
diff options
context:
space:
mode:
authorFrank A. Cancio Bello2017-10-18 05:37:21 +0200
committerGreg Kroah-Hartman2017-10-18 15:33:15 +0200
commitbb1960bbcf75f48e6aead8e542c2c99190e823a1 (patch)
treea983af19c86ba30adaffa19a24b565d5e785313f /drivers/staging/rtlwifi/rtl8822be
parentstaging: rtlwifi: rtl8822be: Remove useless parentheses (diff)
downloadkernel-qcow2-linux-bb1960bbcf75f48e6aead8e542c2c99190e823a1.tar.gz
kernel-qcow2-linux-bb1960bbcf75f48e6aead8e542c2c99190e823a1.tar.xz
kernel-qcow2-linux-bb1960bbcf75f48e6aead8e542c2c99190e823a1.zip
staging: rtlwifi: rtl8822be: Align the * in block comment
Align the * on each line of a block comment to comply with kernel coding style and address the following checkpatch message: 'WARNING: Block comments should align the * on each line'. Credits to checkpatch. Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtlwifi/rtl8822be')
-rw-r--r--drivers/staging/rtlwifi/rtl8822be/phy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtlwifi/rtl8822be/phy.c b/drivers/staging/rtlwifi/rtl8822be/phy.c
index aacaca6b968e..ef37ae98c803 100644
--- a/drivers/staging/rtlwifi/rtl8822be/phy.c
+++ b/drivers/staging/rtlwifi/rtl8822be/phy.c
@@ -1756,9 +1756,9 @@ static void _rtl8822be_phy_set_txpower_index(struct ieee80211_hw *hw,
static u32 index;
/*
- * For 8822B, phydm api use 4 bytes txagc value
- * driver must combine every four 1 byte to one 4 byte and send to phydm
- */
+ * For 8822B, phydm api use 4 bytes txagc value driver must
+ * combine every four 1 byte to one 4 byte and send to phydm
+ */
shift = rate & 0x03;
index |= ((u32)power_index << (shift * 8));