Skip to content

Commit

Permalink
pinctrl: st: Remove unnecessary use of of_match_ptr macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jun 30, 2013
1 parent 5c75acd commit 539fde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinctrl-st.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ static struct platform_driver st_pctl_driver = {
.driver = {
.name = "st-pinctrl",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(st_pctl_of_match),
.of_match_table = st_pctl_of_match,
},
.probe = st_pctl_probe,
};
Expand Down

0 comments on commit 539fde5

Please sign in to comment.