summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-core.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@gmail.com>2012-05-27 01:19:23 +0200
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 01:52:34 +0200
commit3740e49c668bbe7719f292c24c4c5f152a88b97e (patch)
treefd61a4ba17e46f347cc5e3d151fc238d0d2b1c7d /drivers/leds/led-core.c
parentleds: add oneshot blink functions (diff)
downloadlinux-3740e49c668bbe7719f292c24c4c5f152a88b97e.tar.xz
linux-3740e49c668bbe7719f292c24c4c5f152a88b97e.zip
ledtrig-ide-disk: use generic one-shot blink api
Convert ledtrig-ide-disk code to use the generic API for one-shot LED blinking. This patch changes slightly the behaviour of the trigger, as while the original version kept the LED on under heavy activity, the new one keeps a constant on-off blink at 1 / (2 * BLINK_DELAY) Hz. (bryan.wu@canonical.com: remove 2 useless included header files) Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'drivers/leds/led-core.c')
0 files changed, 0 insertions, 0 deletions