iwlwifi: fix error path of iwl_rfkill_init
commit8fa7425c6394117a541de82826d128d6c3d9161b
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 1 Jul 2008 07:44:48 +0000 (1 10:44 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 14:21:33 +0000 (8 10:21 -0400)
tree1c9b9848e6a0c6ad2aa22e871f4e0f7c562077f4
parent9bb8582efb555521c7eec595ebd34e835ddc34b8
iwlwifi: fix error path of iwl_rfkill_init

This patch cleans rfkill error path. The problem was result of removing
the input device

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-rfkill.c