leds: heartbeat: stop on shutdown
authorAlexander Holler <holler@ahsoftware.de>
Tue, 29 May 2012 22:07:29 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:32 +0000 (16:22 -0700)
commit49dca5aebfdeadd4bf27b6cb4c60392147dc35a4
tree99172a77186076842dce396469ea9d50f4d16c9f
parent6335f8fa974bc284da0f55877935538e1d7b55eb
leds: heartbeat: stop on shutdown

A halted kernel should not show a heartbeat.

[akpm@linux-foundation.org: checkpatch fixes]
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Cc: Shuah Khan <shuahkhan@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/ledtrig-heartbeat.c