OSDN Git Service

Input: atmel_tsadcc - correct call to input_free_device
authorJulia Lawall <julia@diku.dk>
Sun, 15 May 2011 05:22:38 +0000 (22:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 May 2011 06:42:41 +0000 (23:42 -0700)
commit215ef98677c3e43cefd2159d76543f368a7f87b9
tree212cf3039aaaf92509f80347ab4bc9f788ea8700
parent36682b81de32090f5c9fac165e71ab8939aab8c0
Input: atmel_tsadcc - correct call to input_free_device

This error handling code can be reached before ts_dev->input is
initialized, so it is safer to always use the original name,
input_dev.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/atmel_tsadcc.c