diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-06-29 20:58:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-30 07:39:33 -0400 |
commit | 539fde59ebc615bcb9af373af8947e866dc072c7 (patch) | |
tree | 757821d78e2a59407d31d0584546a13a88dfc22e /drivers/pinctrl/pinctrl-st.c | |
parent | 5c75acdcae1be608b27414334d7e1febef7dbd99 (diff) |
pinctrl: st: Remove unnecessary use of of_match_ptr macro
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-st.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-st.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index de8c62664fa8..04d4506ae18d 100644 --- a/drivers/pinctrl/pinctrl-st.c +++ b/drivers/pinctrl/pinctrl-st.c | |||
@@ -1391,7 +1391,7 @@ static struct platform_driver st_pctl_driver = { | |||
1391 | .driver = { | 1391 | .driver = { |
1392 | .name = "st-pinctrl", | 1392 | .name = "st-pinctrl", |
1393 | .owner = THIS_MODULE, | 1393 | .owner = THIS_MODULE, |
1394 | .of_match_table = of_match_ptr(st_pctl_of_match), | 1394 | .of_match_table = st_pctl_of_match, |
1395 | }, | 1395 | }, |
1396 | .probe = st_pctl_probe, | 1396 | .probe = st_pctl_probe, |
1397 | }; | 1397 | }; |