aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-07 01:27:18 -0500
committerLee Jones <lee.jones@linaro.org>2014-01-21 03:29:00 -0500
commit3b1ba0cbcc1bc16b39dbd6cc4585a1d365f351f3 (patch)
tree74b289e6016e54e940a6458f682797f17ac0e85a
parent4d1d99807ae6a291faf3ac0732257a56d93598ed (diff)
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>
-rw-r--r--drivers/gpio/gpio-lp3943.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c
index 7b8db88ebb7b..a0341c92bcb4 100644
--- a/drivers/gpio/gpio-lp3943.c
+++ b/drivers/gpio/gpio-lp3943.c
@@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = {
231 .driver = { 231 .driver = {
232 .name = "lp3943-gpio", 232 .name = "lp3943-gpio",
233 .owner = THIS_MODULE, 233 .owner = THIS_MODULE,
234 .of_match_table = of_match_ptr(lp3943_gpio_of_match), 234 .of_match_table = lp3943_gpio_of_match,
235 }, 235 },
236}; 236};
237module_platform_driver(lp3943_gpio_driver); 237module_platform_driver(lp3943_gpio_driver);