diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-08-26 15:36:23 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-26 15:42:02 -0700 |
commit | 6aa9751679b04b351bf4b2e2678bc11ea7d0fea4 (patch) | |
tree | f879bd1fd96041cae97bb9311c17f7ca1cc77613 /drivers/input | |
parent | 7132fe4f568721cbd5d9bce5a8a71556e9bc45b4 (diff) |
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')
-rw-r--r-- | drivers/input/misc/drv260x.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c index e90e3b8189f..a7a19e68f4a 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 */ |