diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-08-27 00:36:23 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-27 00:42:02 +0200 |
commit | 6aa9751679b04b351bf4b2e2678bc11ea7d0fea4 (patch) | |
tree | f879bd1fd96041cae97bb9311c17f7ca1cc77613 /drivers/input | |
parent | Input: drv260x - add TI drv260x haptics driver (diff) | |
download | linux-6aa9751679b04b351bf4b2e2678bc11ea7d0fea4.tar.xz linux-6aa9751679b04b351bf4b2e2678bc11ea7d0fea4.zip |
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 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 */ |