From: Sachin Kamat Date: Thu, 19 Sep 2013 11:58:08 +0000 (+0530) Subject: gpio: gpio-74x164: Remove redundant of_match_ptr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=187a53a5ebec6a5d14d57ca12eaa4a106397a134;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gpio: gpio-74x164: Remove redundant of_match_ptr 'gen_74x164_dt_ids' is always compiled in. Hence the macro is not necessary. Signed-off-by: Sachin Kamat Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index a51e893e0592..1e04bf91328d 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c @@ -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,