From: Sachin Kamat Date: Tue, 7 Jan 2014 06:27:18 +0000 (+0530) Subject: gpio: lp3943: Remove redundant of_match_ptr helper X-Git-Tag: v3.14-rc1~142^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b1ba0cbcc1bc16b39dbd6cc4585a1d365f351f3;p=kernel%2Fkernel-generic.git gpio: lp3943: Remove redundant of_match_ptr helper 'lp3943_gpio_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat Acked-by: Linus Walleij Signed-off-by: Lee Jones --- diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c index 7b8db88..a0341c9 100644 --- a/drivers/gpio/gpio-lp3943.c +++ b/drivers/gpio/gpio-lp3943.c @@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = { .driver = { .name = "lp3943-gpio", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(lp3943_gpio_of_match), + .of_match_table = lp3943_gpio_of_match, }, }; module_platform_driver(lp3943_gpio_driver);