OSDN Git Service

Input: drv260x - remove unused defines
authorDan Murphy <dmurphy@ti.com>
Tue, 26 Aug 2014 22:36:23 +0000 (15:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 26 Aug 2014 22:42:02 +0000 (15:42 -0700)
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>
drivers/input/misc/drv260x.c

index e90e3b8..a7a19e6 100644 (file)
 #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 */