Input: fix input module refcounting
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 14 Sep 2006 05:32:14 +0000 (01:32 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 14 Sep 2006 05:32:14 +0000 (01:32 -0400)
Now that input_free_device is basically an alias for input_put_device
we need to acquire a reference to input module right when we allocate
device because input_dev_release releases reference to input module
unconditionally.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found