Input: tsc2007 - properly shut off interrupts/delayed work
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Jul 2009 06:14:16 +0000 (23:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 26 Jul 2009 18:20:57 +0000 (11:20 -0700)
Properly shut off interrupts/delayed work by free-ing IRQ first
and then ensuring that enable/disable is balanced. Also add
__devinit/__devexit markings, restore poll delay/period scheduling
logic, make sure we call exit_platform_hw() method when probe
fails.

Tested-by: Richard Röjfors <richard.rojfors.ext@mocean-labs.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found