staging: comedi: mite.h: rename CHSR_LxERR_mask
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 14 Apr 2016 16:58:06 +0000 (09:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:17:28 +0000 (22:17 -0700)
Fix the checkpatch.pl issue:
CHECK: Avoid CamelCase: <CHSR_LxERR_mask>

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
drivers/staging/comedi/drivers/ni_mio_common.c

index 87534b07ec81faccc73767f1edaf9d79af2da6e8..f2099b0924e4eb4041ae836d908b57653c9cca12 100644 (file)
@@ -329,7 +329,7 @@ enum CHSR_bits {
        CHSR_END = (1 << 8),
        CHSR_DRQ1 = (1 << 7),
        CHSR_DRQ0 = (1 << 6),
-       CHSR_LxERR_mask = (3 << 4),
+       CHSR_LERR_MASK = (3 << 4),
        CHSR_LBERR = (1 << 4),
        CHSR_LRERR = (2 << 4),
        CHSR_LOERR = (3 << 4),
index d2b359a0e7a3de54c05c78d08d05374ab902b245..d3313866ec09f9d73d62b044b4032e90d874957f 100644 (file)
@@ -1327,7 +1327,7 @@ static void handle_a_interrupt(struct comedi_device *dev, unsigned short status,
 
        if (ai_mite_status & ~(CHSR_INT | CHSR_LINKC | CHSR_DONE | CHSR_MRDY |
                               CHSR_DRDY | CHSR_DRQ1 | CHSR_DRQ0 | CHSR_ERROR |
-                              CHSR_SABORT | CHSR_XFERR | CHSR_LxERR_mask)) {
+                              CHSR_SABORT | CHSR_XFERR | CHSR_LERR_MASK)) {
                dev_err(dev->class_dev,
                        "unknown mite interrupt (ai_mite_status=%08x)\n",
                        ai_mite_status);
@@ -1432,7 +1432,7 @@ static void handle_b_interrupt(struct comedi_device *dev,
 
        if (ao_mite_status & ~(CHSR_INT | CHSR_LINKC | CHSR_DONE | CHSR_MRDY |
                               CHSR_DRDY | CHSR_DRQ1 | CHSR_DRQ0 | CHSR_ERROR |
-                              CHSR_SABORT | CHSR_XFERR | CHSR_LxERR_mask)) {
+                              CHSR_SABORT | CHSR_XFERR | CHSR_LERR_MASK)) {
                dev_err(dev->class_dev,
                        "unknown mite interrupt (ao_mite_status=%08x)\n",
                        ao_mite_status);