linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: misc: drv260x remove defines not used
@ 2014-08-22 14:11 Dan Murphy
  2014-08-26 22:46 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Murphy @ 2014-08-22 14:11 UTC (permalink / raw)
  To: linux-input, dmitry.torokhov; +Cc: linux-kernel, linux-arm-kernel, Dan Murphy

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>
---
 drivers/input/misc/drv260x.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
index e90e3b8..a7a19e6 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 */
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] input: misc: drv260x remove defines not used
  2014-08-22 14:11 [PATCH] input: misc: drv260x remove defines not used Dan Murphy
@ 2014-08-26 22:46 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2014-08-26 22:46 UTC (permalink / raw)
  To: Dan Murphy; +Cc: linux-input, linux-kernel, linux-arm-kernel

On Fri, Aug 22, 2014 at 09:11:15AM -0500, Dan Murphy wrote:
> 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>

Applied, thank you.

> ---
>  drivers/input/misc/drv260x.c |    5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c
> index e90e3b8..a7a19e6 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 */
> -- 
> 1.7.9.5
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-26 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22 14:11 [PATCH] input: misc: drv260x remove defines not used Dan Murphy
2014-08-26 22:46 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).