Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Murphy and committed by
Dmitry Torokhov
6aa97516 7132fe4f

-5
-5
drivers/input/misc/drv260x.c
··· 66 66 #define DRV260X_LRA_RES_PERIOD 0x22 67 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 69 #define DRV260X_GO_BIT 0x01 75 70 76 71 /* Library Selection */