Selaa lähdekoodia

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 <sachin.kamat@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Sachin Kamat 11 vuotta sitten
vanhempi
commit
3b1ba0cbcc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      drivers/gpio/gpio-lp3943.c

+ 1 - 1
drivers/gpio/gpio-lp3943.c

@@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = {
 	.driver = {
 	.driver = {
 		.name = "lp3943-gpio",
 		.name = "lp3943-gpio",
 		.owner = THIS_MODULE,
 		.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);
 module_platform_driver(lp3943_gpio_driver);