Input: tsc2005 - clear driver data after unbinding
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 05:09:09 +0000 (22:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 06:28:23 +0000 (23:28 -0700)
commit2721a89ac41f2e7705484c1582c293c4eee5344d
treebf9631ffaa8364e360bdb38d8ea32fc234e5972b
parentb88aa494c27552e6fa94e4abaa5ea4f9b2f170a8
Input: tsc2005 - clear driver data after unbinding

We should not leave garbage pointers in driver structure after we unbind
it from the device or if bind fails.

Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tsc2005.c