]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
leds: Ensure led->trigger is set earlier
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Wed, 16 Jul 2008 21:51:14 +0000 (22:51 +0100)
committerRichard Purdie <rpurdie@rpsys.net>
Wed, 23 Jul 2008 08:49:56 +0000 (09:49 +0100)
commitfe3025b55c8ed06929afe94e9c9095fc19d15aa0
treeaad95bb0d04d0305f265ca1ecf442f091114a98a
parentf46e9203d9a100bae216cc06e17f2e77351aa8d8
leds: Ensure led->trigger is set earlier

Make sure led->trigger is valid before calling trigger->activate

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/led-triggers.c