leds: leds-pwm: Convert to use devm_get_pwm
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 21 Dec 2012 09:43:55 +0000 (01:43 -0800)
committerBryan Wu <cooloney@gmail.com>
Sat, 2 Feb 2013 01:47:04 +0000 (17:47 -0800)
commit9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df
treef5edea4f81669ed2b7413b577a5c0d1e9078a65d
parent8614fb46637a993258146022b0140d553132a0b7
leds: leds-pwm: Convert to use devm_get_pwm

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.ujfalusi@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pwm.c
include/linux/leds_pwm.h