commit | 3593a6d64d774efb9d7ec80947607401ee6731c0 | [log] [tgz] |
---|---|---|
author | Richard Purdie <rpurdie@rpsys.net> | Thu May 10 23:46:30 2007 +0100 |
committer | Richard Purdie <rpurdie@rpsys.net> | Mon Jul 16 01:15:50 2007 +0100 |
tree | 5e1a05877dc385b9d74ef40c5168b567c54e70bd | |
parent | 66242f7ec531953fbc2f4040c5ffe1f1ffe6c5c9 [diff] |
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>