These defines are not used by driver. Remove them.

Signed-off-by: Ivan T. Ivanov <iiva...@mm-sol.com>
---
 drivers/input/keyboard/pmic8xxx-keypad.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c 
b/drivers/input/keyboard/pmic8xxx-keypad.c
index 80c6b0e..dd1fc95 100644
--- a/drivers/input/keyboard/pmic8xxx-keypad.c
+++ b/drivers/input/keyboard/pmic8xxx-keypad.c
@@ -43,7 +43,6 @@
 
 #define KEYP_CTRL                      0x148
 
-#define KEYP_CTRL_EVNTS                        BIT(0)
 #define KEYP_CTRL_EVNTS_MASK           0x3
 
 #define KEYP_CTRL_SCAN_COLS_SHIFT      5
@@ -58,21 +57,10 @@
 
 #define KEYP_SCAN                      0x149
 
-#define KEYP_SCAN_READ_STATE           BIT(0)
 #define KEYP_SCAN_DBOUNCE_SHIFT                1
 #define KEYP_SCAN_PAUSE_SHIFT          3
 #define KEYP_SCAN_ROW_HOLD_SHIFT       6
 
-#define KEYP_TEST                      0x14A
-
-#define KEYP_TEST_CLEAR_RECENT_SCAN    BIT(6)
-#define KEYP_TEST_CLEAR_OLD_SCAN       BIT(5)
-#define KEYP_TEST_READ_RESET           BIT(4)
-#define KEYP_TEST_DTEST_EN             BIT(3)
-#define KEYP_TEST_ABORT_READ           BIT(0)
-
-#define KEYP_TEST_DBG_SELECT_SHIFT     1
-
 /* bits of these registers represent
  * '0' for key press
  * '1' for key release
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to