leds: Add support for hardware accelerated LED flashing

Extends the leds subsystem with a blink_set() callback function which can
be optionally implemented by a LED driver. If implemented, the driver can use
the hardware acceleration for blinking a LED.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
This commit is contained in:
Márton Németh 2007-10-31 15:07:12 +01:00 • committed by Richard Purdie
commit 4c79141d28
4 changed files with 67 additions and 9 deletions