From 6aa9751679b04b351bf4b2e2678bc11ea7d0fea4 Mon Sep 17 00:00:00 2001 From: Dan Murphy Date: Tue, 26 Aug 2014 15:36:23 -0700 Subject: 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 Signed-off-by: Dmitry Torokhov --- drivers/input/misc/drv260x.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/input') 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 */ -- cgit v1.2.3