From: Axel Lin Date: Fri, 23 Aug 2013 06:27:53 +0000 (+0800) Subject: pinctrl: rockchip: Remove of_match_ptr macro for DT only driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0be9e70d5808938c595199caa8368b734ba3539a;p=linux-beck.git pinctrl: rockchip: Remove of_match_ptr macro for DT only driver This is a DT only driver and rockchip_pinctrl_dt_match is always compiled in. Thus remove of_match_ptr macro. Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 64ad0c0a1536..7eb1249883e7 100644 --- a/drivers/pinctrl/pinctrl-rockchip.c +++ b/drivers/pinctrl/pinctrl-rockchip.c @@ -1365,7 +1365,7 @@ static struct platform_driver rockchip_pinctrl_driver = { .driver = { .name = "rockchip-pinctrl", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(rockchip_pinctrl_dt_match), + .of_match_table = rockchip_pinctrl_dt_match, }, };