diff mbox

[3/3] drivers/input/tablet/aiptek: removed double define

Message ID 1310336441-26893-1-git-send-email-edwin@cheatah.nl (mailing list archive)
State Accepted
Commit eadba0c9c41bfa840b0f1e9ee369a869c2a322b3
Headers show

Commit Message

Edwin van Vliet July 10, 2011, 10:20 p.m. UTC
Constant AIPTEK_TOOL_BUTTON_PEN_MODE was diefined twice

Signed-off-by: Edwin van Vliet <edwin@cheatah.nl>
---
 drivers/input/tablet/aiptek.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Jesper Juhl July 10, 2011, 10:31 p.m. UTC | #1
On Mon, 11 Jul 2011, Edwin van Vliet wrote:

> Constant AIPTEK_TOOL_BUTTON_PEN_MODE was diefined twice
> 
> Signed-off-by: Edwin van Vliet <edwin@cheatah.nl>
> ---
>  drivers/input/tablet/aiptek.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
> index 0a619c5..6d89fd1 100644
> --- a/drivers/input/tablet/aiptek.c
> +++ b/drivers/input/tablet/aiptek.c
> @@ -225,7 +225,6 @@
>  	/* toolMode codes
>  	 */
>  #define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
> -#define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
>  #define AIPTEK_TOOL_BUTTON_PENCIL_MODE			BTN_TOOL_PENCIL
>  #define AIPTEK_TOOL_BUTTON_BRUSH_MODE			BTN_TOOL_BRUSH
>  #define AIPTEK_TOOL_BUTTON_AIRBRUSH_MODE		BTN_TOOL_AIRBRUSH
> 
Reviewed-by: Jesper Juhl <jj@chaosbits.net>
Dmitry Torokhov July 10, 2011, 11:07 p.m. UTC | #2
On Mon, Jul 11, 2011 at 12:31:50AM +0200, Jesper Juhl wrote:
> On Mon, 11 Jul 2011, Edwin van Vliet wrote:
> 
> > Constant AIPTEK_TOOL_BUTTON_PEN_MODE was diefined twice
> > 
> > Signed-off-by: Edwin van Vliet <edwin@cheatah.nl>
> > ---
> >  drivers/input/tablet/aiptek.c |    1 -
> >  1 files changed, 0 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
> > index 0a619c5..6d89fd1 100644
> > --- a/drivers/input/tablet/aiptek.c
> > +++ b/drivers/input/tablet/aiptek.c
> > @@ -225,7 +225,6 @@
> >  	/* toolMode codes
> >  	 */
> >  #define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
> > -#define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
> >  #define AIPTEK_TOOL_BUTTON_PENCIL_MODE			BTN_TOOL_PENCIL
> >  #define AIPTEK_TOOL_BUTTON_BRUSH_MODE			BTN_TOOL_BRUSH
> >  #define AIPTEK_TOOL_BUTTON_AIRBRUSH_MODE		BTN_TOOL_AIRBRUSH
> > 
> Reviewed-by: Jesper Juhl <jj@chaosbits.net>

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
index 0a619c5..6d89fd1 100644
--- a/drivers/input/tablet/aiptek.c
+++ b/drivers/input/tablet/aiptek.c
@@ -225,7 +225,6 @@ 
 	/* toolMode codes
 	 */
 #define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
-#define AIPTEK_TOOL_BUTTON_PEN_MODE			BTN_TOOL_PEN
 #define AIPTEK_TOOL_BUTTON_PENCIL_MODE			BTN_TOOL_PENCIL
 #define AIPTEK_TOOL_BUTTON_BRUSH_MODE			BTN_TOOL_BRUSH
 #define AIPTEK_TOOL_BUTTON_AIRBRUSH_MODE		BTN_TOOL_AIRBRUSH