Re: [PATCH 2/2] iio: light: tsl2563: Rename macro to fix typo

From: Jonathan Cameron
Date: Sat Mar 21 2020 - 07:13:16 EST


On Wed, 18 Mar 2020 13:33:11 +0530
Nishant Malpani <nish.malpani25@xxxxxxxxx> wrote:

> This patch renames macro to fix the following warning generated by
> checkpatch.pl:
>
> WARNING: 'DISBLED' may be misspelled - perhaps 'DISABLED'?
>
> Signed-off-by: Nishant Malpani <nish.malpani25@xxxxxxxxx>

Applied.

Thanks,

Jonathan

> ---
> drivers/iio/light/tsl2563.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/light/tsl2563.c b/drivers/iio/light/tsl2563.c
> index 260b38ee81f7..356f4927cc46 100644
> --- a/drivers/iio/light/tsl2563.c
> +++ b/drivers/iio/light/tsl2563.c
> @@ -69,7 +69,7 @@
> #define TSL2563_TIMING_GAIN16 0x10
> #define TSL2563_TIMING_GAIN1 0x00
>
> -#define TSL2563_INT_DISBLED 0x00
> +#define TSL2563_INT_DISABLED 0x00
> #define TSL2563_INT_LEVEL 0x10
> #define TSL2563_INT_PERSIST(n) ((n) & 0x0F)
>