소스 검색

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>
Dan Murphy 11 년 전
부모
커밋
6aa9751679
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      drivers/input/misc/drv260x.c

+ 0 - 5
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 */