Input: hil-mlc - use del_timer_sync() when unloading the driver
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 05:39:51 +0000 (21:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 07:45:25 +0000 (23:45 -0800)
commite40ec6ff2f42b5516d77a5c34bfa6a9ce45834f4
tree9189d2dbe80c4dec85578551d7e4bc6bdb9b027d
parent898d1053f72c192a6e7f701e915995afff695de8
Input: hil-mlc - use del_timer_sync() when unloading the driver

del_timer() does not wait for the timer to finish running before returning
and therefore is technically not safe. Also make sure to enable tasklet
before kicking timer that will schedule it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/hil_mlc.c