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:
cd2a553
)
mfd: ti_am335x_tscadc: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 15 Oct 2013 03:48:49 +0000
(09:18 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:56 +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/ti_am335x_tscadc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ti_am335x_tscadc.c
b/drivers/mfd/ti_am335x_tscadc.c
index a3685d6ef67421b70af1928144f1820af5854648..e5a40e8a09046028fe6043f399831ea391739544 100644
(file)
--- a/
drivers/mfd/ti_am335x_tscadc.c
+++ b/
drivers/mfd/ti_am335x_tscadc.c
@@
-328,7
+328,7
@@
static struct platform_driver ti_tscadc_driver = {
.name = "ti_am3359-tscadc",
.owner = THIS_MODULE,
.pm = TSCADC_PM_OPS,
- .of_match_table =
of_match_ptr(ti_tscadc_dt_ids)
,
+ .of_match_table =
ti_tscadc_dt_ids
,
},
.probe = ti_tscadc_probe,
.remove = ti_tscadc_remove,