From: Axel Lin Date: Tue, 8 Apr 2014 03:44:49 +0000 (+0800) Subject: gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ea8d8102bbd32d97fe25decd4bf47ad2a63e031;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match This is a DT-only driver and it will be built only when CONFIG_OF is set. So it's pointless to use of_match_ptr. Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 9bf5034b6cdb..7184f4577848 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -209,7 +209,7 @@ static struct platform_driver zevio_gpio_driver = { .driver = { .name = "gpio-zevio", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(zevio_gpio_of_match), + .of_match_table = zevio_gpio_of_match, }, .probe = zevio_gpio_probe, };