提交 539fde59 编写于 作者: A Axel Lin 提交者: Mark Brown

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: NAxel Lin <axel.lin@ingics.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 5c75acdc
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册