summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/tc3589x-keypad.c
diff options
context:
space:
mode:
authorClifton Barnes <clifton.a.barnes@gmail.com>2016-05-24 00:50:02 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-05-26 02:37:15 +0200
commitc95d6d966e04701b13f5c53341e324c36477d22c (patch)
tree11fec13b776fe37a2b8d614b0dc4c50585433501 /drivers/input/keyboard/tc3589x-keypad.c
parentInput: add new driver for the Surface 3 (diff)
downloadlinux-c95d6d966e04701b13f5c53341e324c36477d22c.tar.xz
linux-c95d6d966e04701b13f5c53341e324c36477d22c.zip
Input: tc3589x-keypad - remove stray ')'
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> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/input/keyboard/tc3589x-keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c
index e92dfd8889c2..ec0070e97090 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