aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds_pwm.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-12-21 04:43:55 -0500
committerBryan Wu <cooloney@gmail.com>2013-02-01 20:47:04 -0500
commit9ea6cdac9ba5fbc65adde4dc6a3cbee1206508df (patch)
treef5edea4f81669ed2b7413b577a5c0d1e9078a65d /include/linux/leds_pwm.h
parent8614fb46637a993258146022b0140d553132a0b7 (diff)
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 @@
7struct led_pwm { 7struct led_pwm {
8 const char *name; 8 const char *name;
9 const char *default_trigger; 9 const char *default_trigger;
10 unsigned pwm_id; 10 unsigned pwm_id __deprecated;
11 u8 active_low; 11 u8 active_low;
12 unsigned max_brightness; 12 unsigned max_brightness;
13 unsigned pwm_period_ns; 13 unsigned pwm_period_ns;