gpio: gpio-74x164: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 19 Sep 2013 11:58:08 +0000 (17:28 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Sep 2013 10:52:21 +0000 (12:52 +0200)
'gen_74x164_dt_ids' is always compiled in. Hence the macro is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-74x164.c

index a51e893..1e04bf9 100644 (file)
@@ -209,7 +209,7 @@ static struct spi_driver gen_74x164_driver = {
        .driver = {
                .name           = "74x164",
                .owner          = THIS_MODULE,
-               .of_match_table = of_match_ptr(gen_74x164_dt_ids),
+               .of_match_table = gen_74x164_dt_ids,
        },
        .probe          = gen_74x164_probe,
        .remove         = gen_74x164_remove,