diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index d5fd4a1193f8..c85b66602ee1 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -5217,6 +5217,7 @@ static void led_exit(void) | |||
5217 | led_classdev_unregister(&tpacpi_leds[i].led_classdev); | 5217 | led_classdev_unregister(&tpacpi_leds[i].led_classdev); |
5218 | } | 5218 | } |
5219 | 5219 | ||
5220 | flush_workqueue(tpacpi_wq); | ||
5220 | kfree(tpacpi_leds); | 5221 | kfree(tpacpi_leds); |
5221 | } | 5222 | } |
5222 | 5223 | ||