]> git.baikalelectronics.ru Git - kernel.git/commitdiff
iio: light: tsl2563: Rename macro to fix typo
authorNishant Malpani <nish.malpani25@gmail.com>
Wed, 18 Mar 2020 08:03:11 +0000 (13:33 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 11:12:56 +0000 (11:12 +0000)
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>
drivers/iio/light/tsl2563.c

index d8c40a83097d3c0e856ba3214df4ab73a26e1140..27a5c28aac7f25ff0d0be7f6bc283471f67be2ee 100644 (file)
@@ -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)