pinctrl: rockchip: Remove of_match_ptr macro for DT only driver
authorAxel Lin <axel.lin@ingics.com>
Fri, 23 Aug 2013 06:27:53 +0000 (14:27 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Aug 2013 11:16:22 +0000 (13:16 +0200)
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 <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c

index 64ad0c0a1536450992d791f254cf07b755d9b18a..7eb1249883e755920512ffa89973c48721c3c13c 100644 (file)
@@ -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,
        },
 };