summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-28 04:38:31 -0700
committerBryan Wu <cooloney@gmail.com>2013-10-22 10:57:34 -0700
commit1e08f72dd248645450b01c86ccc066c0a90767d8 (patch)
tree11dc272622534bfef359fef06367d341c55a02f5
parentc68f46dd6aec29b4db9eb85d014981bbdd686428 (diff)
downloadlinux-1e08f72dd248645450b01c86ccc066c0a90767d8.tar.bz2
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>
-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,
},
};