led-triggers: create a trigger for CPU activity
authorBryan Wu <bryan.wu@canonical.com>
Sat, 25 Jun 2011 10:33:50 +0000 (18:33 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 31 Jul 2012 13:23:31 +0000 (21:23 +0800)
Attempting to consolidate the ARM LED code, this removes the
custom RealView LED trigger code to turn LEDs on and off in
response to CPU activity and replace it with a standard trigger.

(bryan.wu@canonical.com:
It introduces several syscore stubs into this trigger.
It also provides ledtrig_cpu trigger event stub in <linux/leds.h>.
Although it was inspired by ARM work, it can be used in other arch.)

Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Jochen Friedrich <jochen@scram.de>

No differences found