projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68f46d
)
leds: pwm: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 28 Sep 2013 11:38:31 +0000
(
04:38
-0700)
committer
Bryan Wu
<cooloney@gmail.com>
Tue, 22 Oct 2013 17:57:34 +0000
(10:57 -0700)
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: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pwm.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-pwm.c
b/drivers/leds/leds-pwm.c
index bb6f948985413d4e8c1f5a6b575493a00b2ecef6..2848171b8576f3475c63b0669c5a9788d11e6069 100644
(file)
--- a/
drivers/leds/leds-pwm.c
+++ b/
drivers/leds/leds-pwm.c
@@
-232,7
+232,7
@@
static struct platform_driver led_pwm_driver = {
.driver = {
.name = "leds_pwm",
.owner = THIS_MODULE,
- .of_match_table = of_
match_ptr(of_pwm_leds_match)
,
+ .of_match_table = of_
pwm_leds_match
,
},
};