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>
This commit is contained in:
Axel Lin 2013-06-30 08:58:57 +08:00 committed by Mark Brown
parent 5c75acdcae
commit 539fde59eb

View File

@ -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,
};