diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-28 07:38:31 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 13:57:34 -0400 |
commit | 1e08f72dd248645450b01c86ccc066c0a90767d8 (patch) | |
tree | 11dc272622534bfef359fef06367d341c55a02f5 /drivers/leds | |
parent | c68f46dd6aec29b4db9eb85d014981bbdd686428 (diff) |
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.c | 2 |
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 = { | |||
232 | .driver = { | 232 | .driver = { |
233 | .name = "leds_pwm", | 233 | .name = "leds_pwm", |
234 | .owner = THIS_MODULE, | 234 | .owner = THIS_MODULE, |
235 | .of_match_table = of_match_ptr(of_pwm_leds_match), | 235 | .of_match_table = of_pwm_leds_match, |
236 | }, | 236 | }, |
237 | }; | 237 | }; |
238 | 238 | ||