Re: [PATCH] input: ar1021: fix typo in preprocessor macro name

From: rokhov
Date: Tue Nov 12 2019 - 19:29:00 EST


On Fri, Nov 08, 2019 at 12:19:07PM +0100, Flavio Suligoi wrote:
> Fix spelling mistake.
>
> Signed-off-by: Flavio Suligoi <f.suligoi@xxxxxxx>

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
>

--
Dmitry