Skip to contentSkip to conversation

staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature

PATCH New Moksh Panicker 1 participant 1 message Jul 17 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v8 1/1 staging: rtl8723bs: reformat rtw_efuse_read_1_byte() signature

Reformat the multi-line function signature to a single line to fix the following checkpatch.pl warning:

WARNING: function definition argument 'struct adapter *Adapter' should also have an identifier name

---
Changes in v8:
- Add changelog below --- line as required

Changes in v7:
- Rebased against current staging-next tree; v6 did not apply

 drivers/staging/rtl8723bs/core/rtw_efuse.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/staging/rtl8723bs/core/rtw_efuse.c +1 -4
index a0f5b4b7ab39..168ecb7a998f 100644
@@ -41,10 +41,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)
  * 09/23/2008	MHC		Copy from WMAC.
  *
  */
-u8
-rtw_efuse_read_1_byte(
-struct adapter *Adapter,
-u16		Address)
+u8 rtw_efuse_read_1_byte(struct adapter *Adapter, u16 Address)
 {
 	u8 Bytetemp = {0x00};
 	u8 temp = {0x00};
Signature · 1 line
2.34.1