aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-12-21 05:27:41 -0500
committerLinus Walleij <linus.walleij@linaro.org>2014-01-02 08:03:22 -0500
commitb10b45c0a17bdad9204abb41f6aa56daba050614 (patch)
tree2d0944a6b249c3e8e60a11fbcdb3eba5c1f2ac4a
parent3509c6fa05f013047b6039e2a134cd1e2db76114 (diff)
gpio: tb10x: Remove redundant of_match_ptr helper
'tb10x_gpio_dt_ids' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/gpio-tb10x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 3162555ca1cb..07bce97647a6 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -318,7 +318,7 @@ static struct platform_driver tb10x_gpio_driver = {
318 .remove = tb10x_gpio_remove, 318 .remove = tb10x_gpio_remove,
319 .driver = { 319 .driver = {
320 .name = "tb10x-gpio", 320 .name = "tb10x-gpio",
321 .of_match_table = of_match_ptr(tb10x_gpio_dt_ids), 321 .of_match_table = tb10x_gpio_dt_ids,
322 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,
323 } 323 }
324}; 324};