summaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-08-27 02:36:23 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-08-27 02:42:02 +0400
commit6aa9751679b04b351bf4b2e2678bc11ea7d0fea4 (patch)
treef879bd1fd96041cae97bb9311c17f7ca1cc77613 /drivers/input/misc
parent7132fe4f568721cbd5d9bce5a8a71556e9bc45b4 (diff)
downloadlinux-6aa9751679b04b351bf4b2e2678bc11ea7d0fea4.tar.xz
Input: drv260x - remove unused defines
Removing some #defines that are not and should never be used pertaining to I2C. Removing: define DRV260X_ALLOWED_R_BYTES 25 define DRV260X_ALLOWED_W_BYTES 2 define DRV260X_MAX_RW_RETRIES 5 define DRV260X_I2C_RETRY_DELAY 10 Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/drv260x.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
index e90e3b8189f7..a7a19e68f4a7 100644
--- a/drivers/input/misc/drv260x.c
+++ b/drivers/input/misc/drv260x.c
@@ -66,11 +66,6 @@
#define DRV260X_LRA_RES_PERIOD 0x22
#define DRV260X_MAX_REG 0x23
-#define DRV260X_ALLOWED_R_BYTES 25
-#define DRV260X_ALLOWED_W_BYTES 2
-#define DRV260X_MAX_RW_RETRIES 5
-#define DRV260X_I2C_RETRY_DELAY 10
-
#define DRV260X_GO_BIT 0x01
/* Library Selection */