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:
2212e68
)
mfd: max8925: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 15 Oct 2013 03:48:46 +0000
(09:18 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:49 +0000
(16:21 +0100)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8925-i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max8925-i2c.c
b/drivers/mfd/max8925-i2c.c
index de7fb80a60528e8f3bcbc2c45e934dcfa5a65181..176aa26fc787eae4ba7196edcfae535d22ae50be 100644
(file)
--- a/
drivers/mfd/max8925-i2c.c
+++ b/
drivers/mfd/max8925-i2c.c
@@
-238,7
+238,7
@@
static struct i2c_driver max8925_driver = {
.name = "max8925",
.owner = THIS_MODULE,
.pm = &max8925_pm_ops,
- .of_match_table =
of_match_ptr(max8925_dt_ids)
,
+ .of_match_table =
max8925_dt_ids
,
},
.probe = max8925_probe,
.remove = max8925_remove,