staging: rtl8723bs: rename _Read_EEPROM to _read_eeprom
PATCH 1/1 staging: rtl8723bs: rename _Read_EEPROM to _read_eeprom
This patch fixes a checkpatch
warning by renaming the function_Read_EEPROM to follow the
kernel coding style (snake_case).
--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- drivers/staging/rtl8723bs/include/rtw_cmd.h | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +1 -1
@@ -15,7 +15,7 @@ static struct _cmd_callback rtw_cmd_callback[] = { {GEN_CMD_CODE(_Write_BBREG), NULL}, {GEN_CMD_CODE(_Read_RFREG), &rtw_getbbrfreg_cmdrsp_callback}, {GEN_CMD_CODE(_Write_RFREG), NULL}, /*5*/ - {GEN_CMD_CODE(_Read_EEPROM), NULL}, + {GEN_CMD_CODE(_read_eeprom), NULL}, {GEN_CMD_CODE(_Write_EEPROM), NULL}, {GEN_CMD_CODE(_Read_EFUSE), NULL}, {GEN_CMD_CODE(_Write_EFUSE), NULL},
drivers/staging/rtl8723bs/include/rtw_cmd.h +1 -1
@@ -636,7 +636,7 @@ enum {GEN_CMD_CODE (_Write_BBREG),GEN_CMD_CODE (_Read_RFREG),GEN_CMD_CODE (_Write_RFREG),/*5*/ -GEN_CMD_CODE (_Read_EEPROM), +GEN_CMD_CODE (_read_eeprom),GEN_CMD_CODE (_Write_EEPROM),GEN_CMD_CODE (_Read_EFUSE), GEN_CMD_CODE(_Write_EFUSE),
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +1 -1
@@ -684,7 +684,7 @@ enum {GEN_EVT_CODE (_Read_MACREG) =0 ,/*0*/ GEN_EVT_CODE (_Read_BBREG),GEN_EVT_CODE (_Read_RFREG), -GEN_EVT_CODE (_Read_EEPROM), +GEN_EVT_CODE (_read_eeprom),GEN_EVT_CODE (_Read_EFUSE),GEN_EVT_CODE (_Read_CAM),/*5*/ GEN_EVT_CODE(_Get_BasicRate),
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 55 lines · Donny-Dev
This patch fixes a checkpatch
warning by renaming the function_Read_EEPROMto follow the
kernel coding style (snake_case).Signed-off-by Donny-Dev <[email protected]>--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- drivers/staging/rtl8723bs/include/rtw_cmd.h | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/staging/rtl8723bs/core/rtw_cmd.c +1
-1@@ -15,7 +15,7 @@ static struct _cmd_callback rtw_cmd_callback[] = { {GEN_CMD_CODE(_Write_BBREG), NULL}, {GEN_CMD_CODE(_Read_RFREG), &rtw_getbbrfreg_cmdrsp_callback}, {GEN_CMD_CODE(_Write_RFREG), NULL}, /*5*/ - {GEN_CMD_CODE(_Read_EEPROM), NULL}, + {GEN_CMD_CODE(_read_eeprom), NULL}, {GEN_CMD_CODE(_Write_EEPROM), NULL}, {GEN_CMD_CODE(_Read_EFUSE), NULL}, {GEN_CMD_CODE(_Write_EFUSE), NULL},drivers/staging/rtl8723bs/include/rtw_cmd.h +1
-1@@ -636,7 +636,7 @@ enum {GEN_CMD_CODE (_Write_BBREG),GEN_CMD_CODE (_Read_RFREG),GEN_CMD_CODE (_Write_RFREG),/*5*/ -GEN_CMD_CODE (_Read_EEPROM), +GEN_CMD_CODE (_read_eeprom),GEN_CMD_CODE (_Write_EEPROM),GEN_CMD_CODE (_Read_EFUSE), GEN_CMD_CODE(_Write_EFUSE),drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +1
-1@@ -684,7 +684,7 @@ enum {GEN_EVT_CODE (_Read_MACREG) =0 ,/*0*/ GEN_EVT_CODE (_Read_BBREG),GEN_EVT_CODE (_Read_RFREG), -GEN_EVT_CODE (_Read_EEPROM), +GEN_EVT_CODE (_read_eeprom),GEN_EVT_CODE (_Read_EFUSE),GEN_EVT_CODE (_Read_CAM),/*5*/ GEN_EVT_CODE(_Get_BasicRate),Signature · 1 line
2.43.0
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.
You are receiving this message because of the following common error(s) as indicated below:
- It looks like you did not use your "real" name for the patch on either the Signed-off-by: line, or the From: line (both of which have to match). Please read the kernel file, Documentation/process/submitting-patches.rst for how to do this correctly.
If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.
thanks,
greg k-h's patch email bot