aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-21 05:17:14 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-23 04:55:04 -0400
commitf2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee (patch)
tree3c3215f596fc529f8c6f6bb0a8280ef94f31a86e /drivers/pinctrl
parent7ddd183738fc39cbe3fbfa1954082d4189f14a5c (diff)
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')
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-armada-370.c2
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-armada-xp.c2
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-dove.c2
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-kirkwood.c2
4 files changed, 4 insertions, 4 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 = {
408 .driver = { 408 .driver = {
409 .name = "armada-370-pinctrl", 409 .name = "armada-370-pinctrl",
410 .owner = THIS_MODULE, 410 .owner = THIS_MODULE,
411 .of_match_table = of_match_ptr(armada_370_pinctrl_of_match), 411 .of_match_table = armada_370_pinctrl_of_match,
412 }, 412 },
413 .probe = armada_370_pinctrl_probe, 413 .probe = armada_370_pinctrl_probe,
414 .remove = armada_370_pinctrl_remove, 414 .remove = armada_370_pinctrl_remove,
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c
index ab5dc04b3e8a..843a51f9d129 100644
--- a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c
+++ b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c
@@ -455,7 +455,7 @@ static struct platform_driver armada_xp_pinctrl_driver = {
455 .driver = { 455 .driver = {
456 .name = "armada-xp-pinctrl", 456 .name = "armada-xp-pinctrl",
457 .owner = THIS_MODULE, 457 .owner = THIS_MODULE,
458 .of_match_table = of_match_ptr(armada_xp_pinctrl_of_match), 458 .of_match_table = armada_xp_pinctrl_of_match,
459 }, 459 },
460 .probe = armada_xp_pinctrl_probe, 460 .probe = armada_xp_pinctrl_probe,
461 .remove = armada_xp_pinctrl_remove, 461 .remove = armada_xp_pinctrl_remove,
diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c
index 360b9b236b34..47268393af34 100644
--- a/drivers/pinctrl/mvebu/pinctrl-dove.c
+++ b/drivers/pinctrl/mvebu/pinctrl-dove.c
@@ -806,7 +806,7 @@ static struct platform_driver dove_pinctrl_driver = {
806 .driver = { 806 .driver = {
807 .name = "dove-pinctrl", 807 .name = "dove-pinctrl",
808 .owner = THIS_MODULE, 808 .owner = THIS_MODULE,
809 .of_match_table = of_match_ptr(dove_pinctrl_of_match), 809 .of_match_table = dove_pinctrl_of_match,
810 }, 810 },
811 .probe = dove_pinctrl_probe, 811 .probe = dove_pinctrl_probe,
812 .remove = dove_pinctrl_remove, 812 .remove = dove_pinctrl_remove,
diff --git a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c
index cdd483df673e..6b504b5935a5 100644
--- a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c
+++ b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c
@@ -471,7 +471,7 @@ static struct platform_driver kirkwood_pinctrl_driver = {
471 .driver = { 471 .driver = {
472 .name = "kirkwood-pinctrl", 472 .name = "kirkwood-pinctrl",
473 .owner = THIS_MODULE, 473 .owner = THIS_MODULE,
474 .of_match_table = of_match_ptr(kirkwood_pinctrl_of_match), 474 .of_match_table = kirkwood_pinctrl_of_match,
475 }, 475 },
476 .probe = kirkwood_pinctrl_probe, 476 .probe = kirkwood_pinctrl_probe,
477 .remove = kirkwood_pinctrl_remove, 477 .remove = kirkwood_pinctrl_remove,