diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-12-21 01:43:55 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 17:47:04 -0800 |
commit | 9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df (patch) | |
tree | f5edea4f81669ed2b7413b577a5c0d1e9078a65d /include/linux/leds_pwm.h | |
parent | 8614fb46637a993258146022b0140d553132a0b7 (diff) | |
download | linux-stable-9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df.tar.gz linux-stable-9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df.tar.bz2 linux-stable-9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df.zip |
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>
Diffstat (limited to 'include/linux/leds_pwm.h')
-rw-r--r-- | include/linux/leds_pwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/leds_pwm.h b/include/linux/leds_pwm.h index 33a071167489..a65e9646e4b1 100644 --- a/include/linux/leds_pwm.h +++ b/include/linux/leds_pwm.h @@ -7,7 +7,7 @@ struct led_pwm { const char *name; const char *default_trigger; - unsigned pwm_id; + unsigned pwm_id __deprecated; u8 active_low; unsigned max_brightness; unsigned pwm_period_ns; |