Skip to content

Commit

Permalink
leds: pwm: Remove redundant of_match_ptr
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Bryan Wu committed Oct 22, 2013
1 parent c68f46d commit 1e08f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 1e08f72

Please sign in to comment.