summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-zevio.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-04-08 05:44:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 21:35:08 +0200
commit9ea8d8102bbd32d97fe25decd4bf47ad2a63e031 (patch)
treedbb6691227d1ed4981689eb846c1c9d53208e663 /drivers/gpio/gpio-zevio.c
parentgpio: dwapb: drop irq_setup_generic_chip() (diff)
downloadlinux-9ea8d8102bbd32d97fe25decd4bf47ad2a63e031.tar.xz
linux-9ea8d8102bbd32d97fe25decd4bf47ad2a63e031.zip
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 <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zevio.c')
-rw-r--r--drivers/gpio/gpio-zevio.c2
1 files changed, 1 insertions, 1 deletions
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,
};