aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds_pwm.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-12-21 01:43:55 -0800
committerBryan Wu <cooloney@gmail.com>2013-02-01 17:47:04 -0800
commit9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df (patch)
treef5edea4f81669ed2b7413b577a5c0d1e9078a65d /include/linux/leds_pwm.h
parentleds: pca9532: Convert to devm_input_allocate_device() (diff)
downloadlinux-dev-9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df.tar.xz
linux-dev-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.h2
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;