summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-28 13:38:31 +0200
committerBryan Wu <cooloney@gmail.com>2013-10-22 19:57:34 +0200
commit1e08f72dd248645450b01c86ccc066c0a90767d8 (patch)
tree11dc272622534bfef359fef06367d341c55a02f5 /drivers/leds
parentleds: Include linux/of.h header (diff)
downloadlinux-1e08f72dd248645450b01c86ccc066c0a90767d8.tar.xz
linux-1e08f72dd248645450b01c86ccc066c0a90767d8.zip
leds: pwm: Remove redundant of_match_ptr
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c
index bb6f94898541..2848171b8576 100644
--- 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,
},
};