pinctrl: st: Remove unnecessary use of of_match_ptr macro
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Acked-by Linus Walleij <[email protected]>
---
This patch was sent on https://lkml.org/lkml/2013/6/28/420.
Resend to Mark because this driver is merged via regmap tree.
drivers/pinctrl/pinctrl-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/pinctrl-st.c +1 -1
@@ -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, };
Signature · 1 line
1.8.1.2
Mark Brown
AppliedQuoted 2 lines · Axel Lin
This is a DT only driver and
st_pctl_of_matchis always compiled in. Henceof_match_ptris unnecessary.
Applied, thanks.