OSDN Git Service

hp_wmi: Fix unregister order in hp_wmi_rfkill_setup()
authorKirill Tkhai <tkhai@yandex.ru>
Mon, 29 Jul 2013 13:34:37 +0000 (17:34 +0400)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:51:59 +0000 (08:51 -0400)
commit5b5c2b3c9b0585350d2da62bc4b990d9bf836d94
treebee0947aaa812e43becb6c8884a6fbc4a1069b58
parent0db7fd969e567dc0e4d2a7138896d6860f9614d5
hp_wmi: Fix unregister order in hp_wmi_rfkill_setup()

Register order is:
wifi
bluetooth
wwan
gps

So unregister order must be:
gps
wwan
bluetiith
wifi

But currently gps and wwan are swapped. Fix that.
Also fix goto links.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/hp-wmi.c