summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishant Malpani <nish.malpani25@gmail.com>2020-03-18 09:03:11 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-21 12:12:56 +0100
commit9fd28570ec9166a7357692990789db128fd7a635 (patch)
tree8a655e0e07525aa7a7c7c158bd4627e3a1cad754
parentiio: core: Make mlock internal to the iio core (diff)
downloadlinux-9fd28570ec9166a7357692990789db128fd7a635.tar.xz
linux-9fd28570ec9166a7357692990789db128fd7a635.zip
iio: light: tsl2563: Rename macro to fix typo
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> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/light/tsl2563.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/tsl2563.c b/drivers/iio/light/tsl2563.c
index d8c40a83097d..27a5c28aac7f 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)