Commit f2e9394d authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Walleij

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7ddd1837
...@@ -408,7 +408,7 @@ static struct platform_driver armada_370_pinctrl_driver = { ...@@ -408,7 +408,7 @@ static struct platform_driver armada_370_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-370-pinctrl", .name = "armada-370-pinctrl",
.owner = THIS_MODULE, .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, .probe = armada_370_pinctrl_probe,
.remove = armada_370_pinctrl_remove, .remove = armada_370_pinctrl_remove,
......
...@@ -455,7 +455,7 @@ static struct platform_driver armada_xp_pinctrl_driver = { ...@@ -455,7 +455,7 @@ static struct platform_driver armada_xp_pinctrl_driver = {
.driver = { .driver = {
.name = "armada-xp-pinctrl", .name = "armada-xp-pinctrl",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(armada_xp_pinctrl_of_match), .of_match_table = armada_xp_pinctrl_of_match,
}, },
.probe = armada_xp_pinctrl_probe, .probe = armada_xp_pinctrl_probe,
.remove = armada_xp_pinctrl_remove, .remove = armada_xp_pinctrl_remove,
......
...@@ -806,7 +806,7 @@ static struct platform_driver dove_pinctrl_driver = { ...@@ -806,7 +806,7 @@ static struct platform_driver dove_pinctrl_driver = {
.driver = { .driver = {
.name = "dove-pinctrl", .name = "dove-pinctrl",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(dove_pinctrl_of_match), .of_match_table = dove_pinctrl_of_match,
}, },
.probe = dove_pinctrl_probe, .probe = dove_pinctrl_probe,
.remove = dove_pinctrl_remove, .remove = dove_pinctrl_remove,
......
...@@ -471,7 +471,7 @@ static struct platform_driver kirkwood_pinctrl_driver = { ...@@ -471,7 +471,7 @@ static struct platform_driver kirkwood_pinctrl_driver = {
.driver = { .driver = {
.name = "kirkwood-pinctrl", .name = "kirkwood-pinctrl",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(kirkwood_pinctrl_of_match), .of_match_table = kirkwood_pinctrl_of_match,
}, },
.probe = kirkwood_pinctrl_probe, .probe = kirkwood_pinctrl_probe,
.remove = kirkwood_pinctrl_remove, .remove = kirkwood_pinctrl_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment