projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1d998
)
gpio: lp3943: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 7 Jan 2014 06:27:18 +0000
(11:57 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 21 Jan 2014 08:29:00 +0000
(08:29 +0000)
'lp3943_gpio_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/gpio/gpio-lp3943.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-lp3943.c
b/drivers/gpio/gpio-lp3943.c
index
7b8db88
..
a0341c9
100644
(file)
--- a/
drivers/gpio/gpio-lp3943.c
+++ b/
drivers/gpio/gpio-lp3943.c
@@
-231,7
+231,7
@@
static struct platform_driver lp3943_gpio_driver = {
.driver = {
.name = "lp3943-gpio",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(lp3943_gpio_of_match)
,
+ .of_match_table =
lp3943_gpio_of_match
,
},
};
module_platform_driver(lp3943_gpio_driver);