summaryrefslogtreecommitdiffstats
path: root/drivers/leds
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 /drivers/leds
parentc68f46dd6aec29b4db9eb85d014981bbdd686428 (diff)
downloadop-kernel-dev-1e08f72dd248645450b01c86ccc066c0a90767d8.zip
op-kernel-dev-1e08f72dd248645450b01c86ccc066c0a90767d8.tar.gz
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 bb6f948..2848171 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,
},
};
OpenPOWER on IntegriCloud