projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
143324f
)
iio: light: tsl2563: Rename macro to fix typo
author
Nishant Malpani
<nish.malpani25@gmail.com>
Wed, 18 Mar 2020 08:03:11 +0000
(13:33 +0530)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/light/tsl2563.c
b/drivers/iio/light/tsl2563.c
index d8c40a83097d3c0e856ba3214df4ab73a26e1140..27a5c28aac7f25ff0d0be7f6bc283471f67be2ee 100644
(file)
--- 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_DIS
BLED
0x00
+#define TSL2563_INT_DIS
ABLED
0x00
#define TSL2563_INT_LEVEL 0x10
#define TSL2563_INT_PERSIST(n) ((n) & 0x0F)