projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae5285
)
iio: cm36651: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:07:00 +0000
(10:07 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 22 Dec 2013 16:01:54 +0000
(16:01 +0000)
'cm36651_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/cm36651.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/light/cm36651.c
b/drivers/iio/light/cm36651.c
index 000cc8eb362d2a22621e085816f2c4c6eb24cefc..218c689a80ca79e13fb885346a26283b3ab5fb40 100644
(file)
--- a/
drivers/iio/light/cm36651.c
+++ b/
drivers/iio/light/cm36651.c
@@
-716,7
+716,7
@@
static const struct of_device_id cm36651_of_match[] = {
static struct i2c_driver cm36651_driver = {
.driver = {
.name = "cm36651",
- .of_match_table =
of_match_ptr(cm36651_of_match)
,
+ .of_match_table =
cm36651_of_match
,
.owner = THIS_MODULE,
},
.probe = cm36651_probe,