aha/drivers/leds
Lars-Peter Clausen e45906203d leds: leds-pwm: Set led_classdev max_brightness
Currently the driver leds-pwm doesn't set max_brightness for the led device
although it's platform data proides a maximum brightness. Instead it stores its
own private driver struct. The max_brightness defaults to 255 for led device if
it has not been set.
As a result any leds-pwm device with a different maximum brightness will show
incorrect behavior, as it is posible to either set a longer then period duty
time or not be able to switch the led to full brightness.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-17 11:42:34 +00:00
..
Kconfig leds: Add LED class driver for regulator driven LEDs. 2009-12-17 11:27:09 +00:00
led-class.c
led-core.c
led-triggers.c
leds-adp5520.c
leds-alix2.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-bd2802.c
leds-clevo-mail.c
leds-cobalt-qube.c leds: use default-on trigger for Cobalt Qube 2009-12-17 11:38:31 +00:00
leds-cobalt-raq.c leds: leds-cobalt-raq.c - use resource_size() 2009-12-17 11:16:23 +00:00
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio.c
leds-h1940.c
leds-hp6xx.c
leds-locomo.c
leds-lp3944.c
leds-lt3593.c
leds-net48xx.c
leds-pca955x.c
leds-pca9532.c
leds-pwm.c leds: leds-pwm: Set led_classdev max_brightness 2009-12-17 11:42:34 +00:00
leds-rb532.c
leds-regulator.c leds: Add LED class driver for regulator driven LEDs. 2009-12-17 11:27:09 +00:00
leds-s3c24xx.c
leds-ss4200.c leds: drivers/leds/leds-ss4200.c: fix return statement 2009-12-17 11:36:40 +00:00
leds-sunfire.c
leds-wm831x-status.c
leds-wm8350.c
leds-wrap.c
leds.h
ledtrig-backlight.c
ledtrig-default-on.c
ledtrig-gpio.c
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c
Makefile leds: Add LED class driver for regulator driven LEDs. 2009-12-17 11:27:09 +00:00