lkml.org 
[lkml]   [2020]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] iio: light: tsl2563: Rename macro to fix typo
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)
>

\
 
 \ /
  Last update: 2020-03-21 12:13    [W:0.073 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site