thinkpad-acpi: fix poll thread auto-start
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 26 Feb 2010 00:28:58 +0000 (21:28 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 26 Feb 2010 00:34:23 +0000 (21:34 -0300)
commitb589ea4c44170d3f7a845684e2d1b3b9571663af
treee467f59b6ae8e011ed787cb91bd39bbde78a073a
parent7d1894d8d1c411d2dad95abfe0f65bacf68c4afa
thinkpad-acpi: fix poll thread auto-start

The driver was not starting the NVRAM polling thread if the input
device was bound immediately after registration.

This fixes:
http://bugzilla.kernel.org/show_bug.cgi?id=15118

Reported-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: stable@kernel.org
drivers/platform/x86/thinkpad_acpi.c