Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1405011
| From | Clifton Barnes <clifton.a.barnes@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Input: tc3589x-keypad - remove stray ')' |
| Date | 2016-05-22 16:30 +0200 |
| Message-ID | <rBCye-1Q3-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The end ')' needs to be removed if the macro is ever used or there
would be a compiler error as it does not have a matching '('.
Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
---
drivers/input/keyboard/tc3589x-keypad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c
index e92dfd8..ec0070e 100644
--- a/drivers/input/keyboard/tc3589x-keypad.c
+++ b/drivers/input/keyboard/tc3589x-keypad.c
@@ -32,7 +32,7 @@
#define TC3589x_PULL_DOWN_MASK 0x1
#define TC3589x_PULL_UP_MASK 0x2
#define TC3589x_PULLUP_ALL_MASK 0xAA
-#define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2))
+#define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2)
/* Bit masks for IOCFG register */
#define IOCFG_BALLCFG 0x01
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] Input: tc3589x-keypad - remove stray ')' Clifton Barnes <clifton.a.barnes@gmail.com> - 2016-05-22 16:30 +0200
Re: [PATCH] Input: tc3589x-keypad - remove stray ')' Linus Walleij <linus.walleij@linaro.org> - 2016-05-23 15:30 +0200
Re: [PATCH] Input: tc3589x-keypad - remove stray ')' Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-05-24 01:00 +0200
csiph-web