[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5637717d.0866420a.ecc6e.ffffe0f1@mx.google.com>
Date: Mon, 2 Nov 2015 19:55:07 +0530
From: ranjithece24@...il.com
To: gregkh@...uxfoundation.org
Cc: abbotti@....co.uk, hsweeten@...ionengravers.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
ranjithece24@...il.com
Subject: [PATCH 2/2] comedi: drivers: Fix - BIT macro used coding style issue
From: Ranjith <ranjithece24@...il.com>
BIT macro is used for defining BIT location instead of shifting
operator - coding style issue
Signed-off-by: Ranjith <ranjithece24@...il.com>
---
drivers/staging/comedi/drivers/addi_apci_1032.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/drivers/addi_apci_1032.c b/drivers/staging/comedi/drivers/addi_apci_1032.c
index fd5ce21..168602b 100644
--- a/drivers/staging/comedi/drivers/addi_apci_1032.c
+++ b/drivers/staging/comedi/drivers/addi_apci_1032.c
@@ -84,7 +84,7 @@
#define APCI1032_MODE2_REG 0x08
#define APCI1032_STATUS_REG 0x0c
#define APCI1032_CTRL_REG 0x10
-#define APCI1032_CTRL_INT_OR (0 << 1)
+#define APCI1032_CTRL_INT_OR BIT(0)
#define APCI1032_CTRL_INT_AND BIT(1)
#define APCI1032_CTRL_INT_ENA BIT(2)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists