mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
eeepc-laptop: fix potential leak (led_init() failure)
If we bail out because we can't create the led class device, we need to ensure the led workqueue is cleaned up. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
2b56f1c170
commit
dc56ad9b49
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue