projects
/
GitHub
/
moto-9609
/
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:
adc01fb
)
mfd: max14577: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:20:16 +0000
(15:50 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:56 +0000
(08:28 +0000)
'max14577_dt_match' is always compiled in. Hence the helper macro
is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max14577.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max14577.c
b/drivers/mfd/max14577.c
index a5e1c370c6095375b62a7fa170ff957f301110ab..ac514fb2b8779ef6a1b7395bcd6c26cc45aefdc2 100644
(file)
--- a/
drivers/mfd/max14577.c
+++ b/
drivers/mfd/max14577.c
@@
-221,7
+221,7
@@
static struct i2c_driver max14577_i2c_driver = {
.name = "max14577",
.owner = THIS_MODULE,
.pm = &max14577_pm,
- .of_match_table =
of_match_ptr(max14577_dt_match)
,
+ .of_match_table =
max14577_dt_match
,
},
.probe = max14577_i2c_probe,
.remove = max14577_i2c_remove,