diff mbox series

input: ar1021: fix typo in preprocessor macro name

Message ID 1573211947-660-1-git-send-email-f.suligoi@asem.it (mailing list archive)
State Mainlined
Commit ee85fbe14fd62a30df76f0a8dcee590d9c759703
Headers show
Series input: ar1021: fix typo in preprocessor macro name | expand

Commit Message

Flavio Suligoi Nov. 8, 2019, 11:19 a.m. UTC
Fix spelling mistake.

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
---
 drivers/input/touchscreen/ar1021_i2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Dmitry Torokhov Nov. 13, 2019, 12:28 a.m. UTC | #1
On Fri, Nov 08, 2019 at 12:19:07PM +0100, Flavio Suligoi wrote:
> Fix spelling mistake.
> 
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>

Applied, thank you.

> ---
>  drivers/input/touchscreen/ar1021_i2c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
> index 28644f3..c0d5c24 100644
> --- a/drivers/input/touchscreen/ar1021_i2c.c
> +++ b/drivers/input/touchscreen/ar1021_i2c.c
> @@ -13,7 +13,7 @@
>  #include <linux/irq.h>
>  #include <linux/interrupt.h>
>  
> -#define AR1021_TOCUH_PKG_SIZE	5
> +#define AR1021_TOUCH_PKG_SIZE	5
>  
>  #define AR1021_MAX_X	4095
>  #define AR1021_MAX_Y	4095
> @@ -25,7 +25,7 @@
>  struct ar1021_i2c {
>  	struct i2c_client *client;
>  	struct input_dev *input;
> -	u8 data[AR1021_TOCUH_PKG_SIZE];
> +	u8 data[AR1021_TOUCH_PKG_SIZE];
>  };
>  
>  static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)
> -- 
> 2.7.4
>
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
index 28644f3..c0d5c24 100644
--- a/drivers/input/touchscreen/ar1021_i2c.c
+++ b/drivers/input/touchscreen/ar1021_i2c.c
@@ -13,7 +13,7 @@ 
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 
-#define AR1021_TOCUH_PKG_SIZE	5
+#define AR1021_TOUCH_PKG_SIZE	5
 
 #define AR1021_MAX_X	4095
 #define AR1021_MAX_Y	4095
@@ -25,7 +25,7 @@ 
 struct ar1021_i2c {
 	struct i2c_client *client;
 	struct input_dev *input;
-	u8 data[AR1021_TOCUH_PKG_SIZE];
+	u8 data[AR1021_TOUCH_PKG_SIZE];
 };
 
 static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)