Input: tps6507x-ts - properly unregister input device on removal
authorAxel Lin <axel.lin@gmail.com>
Fri, 3 Sep 2010 02:52:37 +0000 (19:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:12:42 +0000 (20:12 -0700)
commit8a26f5d18d45d49ff38ad2ddfed9c783dd2a19ab
tree4e61dff558320a44cab81ba83b8120ce99cfd2f3
parent98417884477eb3c2d9c19a69c070f7f347af6d76
Input: tps6507x-ts - properly unregister input device on removal

Once device is registered we should call input_unregister_device()
instead of input_free_device().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tps6507x-ts.c