summary refs log tree commit diff
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-19 17:28:08 +0530
committerLinus Walleij <linus.walleij@linaro.org>2013-09-23 12:52:21 +0200
commit187a53a5ebec6a5d14d57ca12eaa4a106397a134 (patch)
treeaa3eee2ab1d5591bfde95eeb461611123abc092a /drivers
parent49f1d6bc5add49be7c03d83386f931c224b1d2cb (diff)
downloadlinux-187a53a5ebec6a5d14d57ca12eaa4a106397a134.tar.gz
gpio: gpio-74x164: Remove redundant of_match_ptr
'gen_74x164_dt_ids' is always compiled in. Hence the macro is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-74x164.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index a51e893e0592..1e04bf91328d 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -209,7 +209,7 @@ static struct spi_driver gen_74x164_driver = {
 	.driver = {
 		.name		= "74x164",
 		.owner		= THIS_MODULE,
-		.of_match_table	= of_match_ptr(gen_74x164_dt_ids),
+		.of_match_table	= gen_74x164_dt_ids,
 	},
 	.probe		= gen_74x164_probe,
 	.remove		= gen_74x164_remove,