]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: mite: rename CamelCase CHSR bit enums
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 20 Apr 2016 17:36:40 +0000 (10:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:18:51 +0000 (22:18 -0700)
Rename the CamelCase symbols to fix the checkpatch.pl issues.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.h

index 9982539932326189b4fe6c927b3d8f0ea865d1d1..9ef51e8cfa508c0ba97d5a641274cb37dec1699e 100644 (file)
@@ -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),