leds: leds-pwm: convert OF parsing code to use led_pwm_add()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Apr 2014 22:20:13 +0000 (15:20 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 8 May 2014 06:28:07 +0000 (14:28 +0800)
commitb795e6d94f2193d5e9087f05c445b069a7aa0dcd
tree7498c2bf069d0122570bae0fe8b8b0f6916f6658
parent5f7b03dc2ab5f4ca16e5d6bc3e6dcd2953c6fede
leds: leds-pwm: convert OF parsing code to use led_pwm_add()

Convert the OF parsing code to use the common PWM LED registration code,
which means we have a consistent method, and single point where the
registration happens for both paths.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pwm.c
This page took 0.024123 seconds and 5 git commands to generate.