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:
83924fb
)
gpio: clps711x: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 28 Sep 2013 12:04:08 +0000
(17:34 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 2 Oct 2013 10:43:25 +0000
(12:43 +0200)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-clps711x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-clps711x.c
b/drivers/gpio/gpio-clps711x.c
index 0edaf2ce92663557a7e4a67dc5cf9364c1ef6716..0924f20fa47fbae1d2469d115aae8c0a7068a9a0 100644
(file)
--- a/
drivers/gpio/gpio-clps711x.c
+++ b/
drivers/gpio/gpio-clps711x.c
@@
-87,7
+87,7
@@
static struct platform_driver clps711x_gpio_driver = {
.driver = {
.name = "clps711x-gpio",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(clps711x_gpio_ids)
,
+ .of_match_table =
clps711x_gpio_ids
,
},
.probe = clps711x_gpio_probe,
.remove = clps711x_gpio_remove,