mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/9] staging: rtl8723bs: Rename 'Hal8723BPwrSeq.{c,h}' to 'hal_pwr_seq.*'.
@ 2018-05-22  7:26 Quytelda Kahja
  2018-05-22  7:26 ` [PATCH 2/9] staging: rtl8723bs: Rename 'Hal8723bPhyReg.h' using snake case Quytelda Kahja
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Quytelda Kahja @ 2018-05-22  7:26 UTC (permalink / raw)
  To: gregkh, pombredanne; +Cc: devel, linux-kernel, Quytelda Kahja

Camel-case naming is discouraged int the linux kernel coding style.
Rename these files using snake case, and update the makefile to use
the new names.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/rtl8723bs/Makefile                              | 2 +-
 .../staging/rtl8723bs/hal/{Hal8723BPwrSeq.c => hal_pwr_seq.c}   | 2 +-
 .../rtl8723bs/include/{Hal8723BPwrSeq.h => hal_pwr_seq.h}       | 0
 drivers/staging/rtl8723bs/include/rtl8723b_hal.h                | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename drivers/staging/rtl8723bs/hal/{Hal8723BPwrSeq.c => hal_pwr_seq.c} (99%)
 rename drivers/staging/rtl8723bs/include/{Hal8723BPwrSeq.h => hal_pwr_seq.h} (100%)

diff --git a/drivers/staging/rtl8723bs/Makefile b/drivers/staging/rtl8723bs/Makefile
index f236acfd3afa..a12cf8dd8ed9 100644
--- a/drivers/staging/rtl8723bs/Makefile
+++ b/drivers/staging/rtl8723bs/Makefile
@@ -23,7 +23,7 @@ r8723bs-y = \
 		hal/hal_com_phycfg.o \
 		hal/hal_btcoex.o \
 		hal/hal_sdio.o \
-		hal/Hal8723BPwrSeq.o \
+		hal/hal_pwr_seq.o \
 		hal/HalPhyRf.o \
 		hal/HalPwrSeqCmd.o \
 		hal/odm.o \
diff --git a/drivers/staging/rtl8723bs/hal/Hal8723BPwrSeq.c b/drivers/staging/rtl8723bs/hal/hal_pwr_seq.c
similarity index 99%
rename from drivers/staging/rtl8723bs/hal/Hal8723BPwrSeq.c
rename to drivers/staging/rtl8723bs/hal/hal_pwr_seq.c
index 57f7f09b3ab9..589e7aae7bbd 100644
--- a/drivers/staging/rtl8723bs/hal/Hal8723BPwrSeq.c
+++ b/drivers/staging/rtl8723bs/hal/hal_pwr_seq.c
@@ -17,7 +17,7 @@ Major Change History:
 
 */
 
-#include "Hal8723BPwrSeq.h"
+#include "hal_pwr_seq.h"
 
 /* drivers should parse below arrays and do the corresponding actions */
 /* 3 Power on  Array */
diff --git a/drivers/staging/rtl8723bs/include/Hal8723BPwrSeq.h b/drivers/staging/rtl8723bs/include/hal_pwr_seq.h
similarity index 100%
rename from drivers/staging/rtl8723bs/include/Hal8723BPwrSeq.h
rename to drivers/staging/rtl8723bs/include/hal_pwr_seq.h
diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
index 98408e8e33f2..46ac61b058c8 100644
--- a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
+++ b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
@@ -16,7 +16,7 @@
 #include "rtl8723b_xmit.h"
 #include "rtl8723b_cmd.h"
 #include "rtw_mp.h"
-#include "Hal8723BPwrSeq.h"
+#include "hal_pwr_seq.h"
 #include "Hal8723BPhyReg.h"
 #include "Hal8723BPhyCfg.h"
 
-- 
2.17.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-22  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22  7:26 [PATCH 1/9] staging: rtl8723bs: Rename 'Hal8723BPwrSeq.{c,h}' to 'hal_pwr_seq.*' Quytelda Kahja
2018-05-22  7:26 ` [PATCH 2/9] staging: rtl8723bs: Rename 'Hal8723bPhyReg.h' using snake case Quytelda Kahja
2018-05-22  7:26 ` [PATCH 3/9] staging: rtl8723bs: Rename 'Hal8723BPhyCfg.h' " Quytelda Kahja
2018-05-22  7:26 ` [PATCH 4/9] staging: rtl8723bs: Clean up whitespace in 'rtl8723_hal.h' Quytelda Kahja
2018-05-22  7:26 ` [PATCH 5/9] staging: rtl8723bs: Fix camel-case in IS_FW_HEADER_EXIST_8723B() Quytelda Kahja
2018-05-22  7:26 ` [PATCH 6/9] staging: rtl8723bs: Fix camel-case in 'struct rt_firmware' Quytelda Kahja
2018-05-22  7:26 ` [PATCH 7/9] staging: rtl8723bs: Fix spelling/grammar errors in comment Quytelda Kahja
2018-05-22  7:26 ` [PATCH 8/9] staging: rtl8723bs: Fix camel-case in 'struct rt_firmware_hdr' Quytelda Kahja
2018-05-22  7:26 ` [PATCH 9/9] staging: rtl8723bs: Fix grammar error in comment Quytelda Kahja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®