eeepc-laptop: fix potential leak (led_init() failure)
commitdc56ad9b49d20e38bb9745bf3beca84291b21a51
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 3 Dec 2009 07:44:58 +0000 (3 07:44 +0000)
committerLen Brown <len.brown@intel.com>
Wed, 9 Dec 2009 20:54:31 +0000 (9 15:54 -0500)
tree32af0d1e1b852c8693fe15ad4f9f3d05ed63e5e2
parent2b56f1c170fc6338a7d907d6a7132669f9ccdf62
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>
drivers/platform/x86/eeepc-laptop.c