Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 539fde59 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 5c75acdc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1391,7 +1391,7 @@ static struct platform_driver st_pctl_driver = {
	.driver = {
	.driver = {
		.name = "st-pinctrl",
		.name = "st-pinctrl",
		.owner = THIS_MODULE,
		.owner = THIS_MODULE,
		.of_match_table = of_match_ptr(st_pctl_of_match),
		.of_match_table = st_pctl_of_match,
	},
	},
	.probe = st_pctl_probe,
	.probe = st_pctl_probe,
};
};