]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbae5843a5e383b6392e4062946837e1bd084e10
tree212cf3039aaaf92509f80347ab4bc9f788ea8700
parent4312a55c7485d695f4d783224553be12b5ba69e2
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