diff options
| author | Dan Murphy <dmurphy@ti.com> | 2014-08-26 18:36:23 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-26 18:42:02 -0400 |
| commit | 6aa9751679b04b351bf4b2e2678bc11ea7d0fea4 (patch) | |
| tree | f879bd1fd96041cae97bb9311c17f7ca1cc77613 /drivers/input/misc | |
| 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/misc')
| -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 @@ | |||
| 66 | #define DRV260X_LRA_RES_PERIOD 0x22 | 66 | #define DRV260X_LRA_RES_PERIOD 0x22 |
| 67 | #define DRV260X_MAX_REG 0x23 | 67 | #define DRV260X_MAX_REG 0x23 |
| 68 | 68 | ||
| 69 | #define DRV260X_ALLOWED_R_BYTES 25 | ||
| 70 | #define DRV260X_ALLOWED_W_BYTES 2 | ||
| 71 | #define DRV260X_MAX_RW_RETRIES 5 | ||
| 72 | #define DRV260X_I2C_RETRY_DELAY 10 | ||
| 73 | |||
| 74 | #define DRV260X_GO_BIT 0x01 | 69 | #define DRV260X_GO_BIT 0x01 |
| 75 | 70 | ||
| 76 | /* Library Selection */ | 71 | /* Library Selection */ |
