Input: usbtouchscreen - implement reset_resume
authorOliver Neukum <oneukum@suse.de>
Thu, 15 Jul 2010 16:21:40 +0000 (09:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Jul 2010 16:30:57 +0000 (09:30 -0700)
commita8aef622929bbba4d89498fb41dd445c14fae1f7
tree839b1724cc937af7cc65fef03e951d68a1a2a0db
parent5d9efc59e689445f1f8c4eceb125c1a12898e65c
Input: usbtouchscreen - implement reset_resume

This implements reset_resume() by splitting init into allocations
of private data structures and device initializations. Device
initializations are repeated upon reset_resume.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Tested-by: Petr Štetiar <ynezz@true.cz>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/usbtouchscreen.c