From: Axel Lin Date: Sun, 30 Jun 2013 00:58:57 +0000 (+0800) Subject: pinctrl: st: Remove unnecessary use of of_match_ptr macro X-Git-Tag: v3.11-rc1~112^2^2 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=539fde59ebc615bcb9af373af8947e866dc072c7;p=karo-tx-linux.git 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 Acked-by: Linus Walleij Signed-off-by: Mark Brown --- diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index de8c62664fa8..04d4506ae18d 100644 --- a/drivers/pinctrl/pinctrl-st.c +++ b/drivers/pinctrl/pinctrl-st.c @@ -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, };