Merge branch 'thinkpad' into release
This commit is contained in:
commit
b963bd39c9
@ -1278,6 +1278,7 @@ static void tpacpi_destroy_rfkill(const enum tpacpi_rfk_id id)
|
|||||||
tp_rfk = tpacpi_rfkill_switches[id];
|
tp_rfk = tpacpi_rfkill_switches[id];
|
||||||
if (tp_rfk) {
|
if (tp_rfk) {
|
||||||
rfkill_unregister(tp_rfk->rfkill);
|
rfkill_unregister(tp_rfk->rfkill);
|
||||||
|
rfkill_destroy(tp_rfk->rfkill);
|
||||||
tpacpi_rfkill_switches[id] = NULL;
|
tpacpi_rfkill_switches[id] = NULL;
|
||||||
kfree(tp_rfk);
|
kfree(tp_rfk);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user