leds: enable support for blink_set() platform hook in leds-gpio
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 9 Mar 2008 23:48:25 +0000 (23:48 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 24 Apr 2008 22:37:42 +0000 (23:37 +0100)
commitca3259b3603539e72faacc6821050ee889a52103
tree0c8e482b4354d2433046e86aabb6cb8e1db32162
parent4d404fd5c51772720e9c72aa3185bd5119bc6e69
leds: enable support for blink_set() platform hook in leds-gpio

Enhance leds-gpio to provide hardware-based led flashing by passing
through the blink_set() call to a optionally set platform-specific
function pointer.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/leds-gpio.c
include/linux/leds.h