diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-21 13:17:14 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-23 12:55:04 +0400 |
commit | f2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee (patch) | |
tree | 3c3215f596fc529f8c6f6bb0a8280ef94f31a86e /drivers/pinctrl/mvebu/pinctrl-armada-xp.c | |
parent | 7ddd183738fc39cbe3fbfa1954082d4189f14a5c (diff) | |
download | linux-f2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee.tar.xz |
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-xp.c')
-rw-r--r-- | drivers/pinctrl/mvebu/pinctrl-armada-xp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { .driver = { .name = "armada-xp-pinctrl", .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, .remove = armada_xp_pinctrl_remove, |