[PATCH v4 1/7] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-12 Thread Peter Ujfalusi
Update the driver to use the new API for requesting pwm so we can take advantage of the pwm_lookup table to find the correct pwm to be used for the LED functionality. Signed-off-by: Peter Ujfalusi --- drivers/leds/leds-pwm.c | 19 ++- include/linux/leds_pwm.h | 2 +- 2 files

[PATCH v4 1/7] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-12 Thread Peter Ujfalusi
Update the driver to use the new API for requesting pwm so we can take advantage of the pwm_lookup table to find the correct pwm to be used for the LED functionality. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/leds/leds-pwm.c | 19 ++-