projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3509c6f
)
gpio: tb10x: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:27:41 +0000
(15:57 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 2 Jan 2014 13:03:22 +0000
(14:03 +0100)
'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>
drivers/gpio/gpio-tb10x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-tb10x.c
b/drivers/gpio/gpio-tb10x.c
index 3162555ca1cb0cf30d6ec9f68e7617edbe164af9..07bce97647a684901db5c8e10f7b5d96072909af 100644
(file)
--- a/
drivers/gpio/gpio-tb10x.c
+++ b/
drivers/gpio/gpio-tb10x.c
@@
-318,7
+318,7
@@
static struct platform_driver tb10x_gpio_driver = {
.remove = tb10x_gpio_remove,
.driver = {
.name = "tb10x-gpio",
- .of_match_table =
of_match_ptr(tb10x_gpio_dt_ids)
,
+ .of_match_table =
tb10x_gpio_dt_ids
,
.owner = THIS_MODULE,
}
};