Richard Purdie 3593a6d64d leds: Fix trigger unregister_simple if register_simple fails
Fix led_trigger_unregister_simple to handle the case where
led_trigger_register_simple fails, avoiding a NULL pointer
dereference.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2007-07-16 01:15:50 +01:00
..
2007-07-16 01:15:50 +01:00
2006-06-27 17:32:39 -07:00
2006-12-07 08:39:36 -08:00
2006-03-31 12:18:56 -08:00
2007-07-16 01:15:50 +01:00