]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
leds: change ledtrig-timer to use activated flag
authorShuah Khan <shuahkhan@gmail.com>
Wed, 25 Apr 2012 01:04:31 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:33 +0000 (15:17 +1000)
commit8b5906fac9f7092a3d71f925060766fc5ef8e3e6
tree09dd52240c0a86fbc606ba6b90236f76afded048
parent8eff8454af1008d60c71ddeadce236bc2238cee9
leds: change ledtrig-timer to use activated flag

Change existing timer trigger to use the new ->activated flag to set
activate successful status in activate routine and check it in deactivate
routine to do cleanup.

Signed-off-by: Shuah Khan <shuahkhan@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/ledtrig-timer.c