diff mbox series

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

Message ID 0793346ea429cc0c932a5857678c802ad7421d80.1584518000.git.nish.malpani25@gmail.com (mailing list archive)
State New, archived
Headers show
Series iio: light: tsl2563: Fix checkpatch warnings | expand

Commit Message

Nishant Malpani March 18, 2020, 8:03 a.m. UTC
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@gmail.com>
---
 drivers/iio/light/tsl2563.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron March 21, 2020, 11:13 a.m. UTC | #1
On Wed, 18 Mar 2020 13:33:11 +0530
Nishant Malpani <nish.malpani25@gmail.com> 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@gmail.com>

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)
>
diff mbox series

Patch

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)