Skip to content
Commit 632041f3 authored by Eric Paris's avatar Eric Paris Committed by David S. Miller
Browse files

rfkill: call rfkill_led_trigger_unregister() on error



Code inspection turned up that error cases in rfkill_register() do not
call rfkill_led_trigger_unregister() even though we have already
registered.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a7da60f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment