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:
5c75acd
)
pinctrl: st: Remove unnecessary use of of_match_ptr macro
author
Axel Lin
<axel.lin@ingics.com>
Sun, 30 Jun 2013 00:58:57 +0000
(08:58 +0800)
committer
Mark Brown
<broonie@linaro.org>
Sun, 30 Jun 2013 11:39:33 +0000
(12:39 +0100)
This is a DT only driver and st_pctl_of_match is always compiled
in. Hence of_match_ptr is unnecessary.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/pinctrl/pinctrl-st.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/pinctrl-st.c
b/drivers/pinctrl/pinctrl-st.c
index de8c62664fa8250fd5b3ff8d37d2770366d07a1d..04d4506ae18d963d898fcfb54737a4776c1bb2e3 100644
(file)
--- a/
drivers/pinctrl/pinctrl-st.c
+++ b/
drivers/pinctrl/pinctrl-st.c
@@
-1391,7
+1391,7
@@
static struct platform_driver st_pctl_driver = {
.driver = {
.name = "st-pinctrl",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(st_pctl_of_match)
,
+ .of_match_table =
st_pctl_of_match
,
},
.probe = st_pctl_probe,
};