summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mvebu/pinctrl-armada-370.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-21 11:17:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-23 10:55:04 +0200
commitf2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee (patch)
tree3c3215f596fc529f8c6f6bb0a8280ef94f31a86e /drivers/pinctrl/mvebu/pinctrl-armada-370.c
parentpinctrl: tb10x: use module_platform_driver to simplify the code (diff)
downloadlinux-f2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee.tar.xz
linux-f2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee.zip
pinctrl: mvebu: remove redundant of_match_ptr
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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-armada-370.c')
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-armada-370.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c
index 48e21a229483..ae1f760cbdd2 100644
--- a/drivers/pinctrl/mvebu/pinctrl-armada-370.c
+++ b/drivers/pinctrl/mvebu/pinctrl-armada-370.c
@@ -408,7 +408,7 @@ static struct platform_driver armada_370_pinctrl_driver = {
.driver = {
.name = "armada-370-pinctrl",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(armada_370_pinctrl_of_match),
+ .of_match_table = armada_370_pinctrl_of_match,
},
.probe = armada_370_pinctrl_probe,
.remove = armada_370_pinctrl_remove,