summaryrefslogtreecommitdiffstats
path: root/include/linux/leds-regulator.h
Commit message (Collapse)AuthorAgeFilesLines
* include/linux/leds-regulator.h: fix syntax in example codeAntonio Ospite2011-04-131-1/+1
| | | | | | | | Fix struct field initializer syntax in some example code from a comment, this will make copying and pasting the code more straightforward. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* leds: Add LED class driver for regulator driven LEDs.Antonio Ospite2009-12-171-0/+46
This driver provides an interface for controlling LEDs (or vibrators) connected to PMICs for which there is a regulator framework driver. This driver can be used, for instance, to control vibrator on all Motorola EZX phones using the pcap-regulator driver services. Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>