Skip to contentSkip to conversation

staging: rtl8192e: Fix parenthesis alignment in r8192E_dev.c 325

PATCH In review Nilo Alexandre 3 participants 3 messages Aug 28, 2024 – Aug 29, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 staging: rtl8192e: Fix parenthesis alignment in r8192E_dev.c 325

Remove linebreak to improve readability

CHECK: Alignment should match open parenthesis

---
v4: Remove linebreak to improve readability
v3: Fix typo in commit message.
v2: Using tabs instead of spaces.

---
 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +1 -2
index b25e83743956d..a80efe6c7c209 100644
@@ -321,8 +321,7 @@ static void _rtl92e_read_eeprom_info(struct net_device *dev)
 
 		if (priv->epromtype == EEPROM_93C46) {
 			if (!priv->autoload_fail_flag) {
-				usValue = rtl92e_eeprom_read(dev,
-					  EEPROM_TxPwDiff_CrystalCap >> 1);
+				usValue = rtl92e_eeprom_read(dev, EEPROM_TxPwDiff_CrystalCap >> 1);
 				priv->eeprom_ant_pwr_diff = usValue & 0x0fff;
 				priv->eeprom_crystal_cap = (usValue & 0xf000)
 							 >> 12;
Signature · 1 line
2.46.0
#1 lore raw
Quoted 2 lines · Nilo Alexandre

Remove linebreak to improve readability

Hi Nilo,

please end the above sentences with a ".".

Quoted 1 line

CHECK: Alignment should match open parenthesis

Why do we need the above line?

Thanks for your support.

Bye Philipp

Quoted 24 lines

---
v4: Remove linebreak to improve readability
v3: Fix typo in commit message.
v2: Using tabs instead of spaces.

---
  drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +1 -2
index b25e83743956d..a80efe6c7c209 100644
@@ -321,8 +321,7 @@ static void _rtl92e_read_eeprom_info(struct net_device *dev)
 
  		if (priv->epromtype == EEPROM_93C46) {
  			if (!priv->autoload_fail_flag) {
-				usValue = rtl92e_eeprom_read(dev,
-					  EEPROM_TxPwDiff_CrystalCap >> 1);
+				usValue = rtl92e_eeprom_read(dev, EEPROM_TxPwDiff_CrystalCap >> 1);
  				priv->eeprom_ant_pwr_diff = usValue & 0x0fff;
  				priv->eeprom_crystal_cap = (usValue & 0xf000)
  							 >> 12;