eeepc-laptop: unregister_rfkill_notifier on failure
authorCorentin Chary <corentincj@iksaif.net>
Mon, 27 Apr 2009 07:23:43 +0000 (09:23 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 14 May 2009 15:28:27 +0000 (11:28 -0400)
commitbd32005e126a465deda5d046a62f6bb842f4d9cf
tree71f00940ceb8b1b8cfb3ebdf503937dbef5d3f54
parent309f5fbda37d5e8f1233e8b80b8e9de77262e864
eeepc-laptop: unregister_rfkill_notifier on failure

If there is a failure during eeepc_hotk_add() we need
to remove the acpi_notify_handler.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c