[PATCH 12/15] staging: comedi: mite: rename CamelCase CHSR bit enums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rename the CamelCase symbols to fix the checkpatch.pl issues.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/comedi/drivers/mite.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/mite.h b/drivers/staging/comedi/drivers/mite.h
index 9982539..9ef51e8 100644
--- a/drivers/staging/comedi/drivers/mite.h
+++ b/drivers/staging/comedi/drivers/mite.h
@@ -126,7 +126,7 @@ enum CHSR_bits {
 	CHSR_SABORT = (1 << 14),
 	CHSR_HABORT = (1 << 13),
 	CHSR_STOPS = (1 << 12),
-	CHSR_OPERR_mask = (3 << 10),
+	CHSR_OPERR_MASK = (3 << 10),
 	CHSR_OPERR_NOERROR = (0 << 10),
 	CHSR_OPERR_FIFOERROR = (1 << 10),
 	CHSR_OPERR_LINKERROR = (1 << 10),	/* ??? */
@@ -138,11 +138,11 @@ enum CHSR_bits {
 	CHSR_LBERR = (1 << 4),
 	CHSR_LRERR = (2 << 4),
 	CHSR_LOERR = (3 << 4),
-	CHSR_MxERR_mask = (3 << 2),
+	CHSR_MERR_MASK = (3 << 2),
 	CHSR_MBERR = (1 << 2),
 	CHSR_MRERR = (2 << 2),
 	CHSR_MOERR = (3 << 2),
-	CHSR_DxERR_mask = (3 << 0),
+	CHSR_DERR_MASK = (3 << 0),
 	CHSR_DBERR = (1 << 0),
 	CHSR_DRERR = (2 << 0),
 	CHSR_DOERR = (3 << 0),
-- 
2.6.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux