projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11d3d33
)
gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match
author
Axel Lin
<axel.lin@ingics.com>
Tue, 8 Apr 2014 03:44:49 +0000
(11:44 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:08 +0000
(12:35 -0700)
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>
drivers/gpio/gpio-zevio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-zevio.c
b/drivers/gpio/gpio-zevio.c
index 9bf5034b6cdb61bc14f85fc98b090690190eaaa1..7184f4577848aadb949375098e3213af627ffde6 100644
(file)
--- 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,
};