leds: Add LED class driver for regulator driven LEDs.
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 7 Dec 2009 14:08:13 +0000 (15:08 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Dec 2009 11:27:09 +0000 (11:27 +0000)
commitd4cc6a2eee98faebf2c7d3ebc4b35541c1d47d21
tree7700367133fbb2041939a0fc734340f24d1f2113
parent3c0f6e1eddeddd95ed04d4a7f0e55ab0aa99adf9
leds: Add LED class driver for regulator driven LEDs.

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>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-regulator.c [new file with mode: 0644]
include/linux/leds-regulator.h [new file with mode: 0644]