]> git.baikalelectronics.ru Git - kernel.git/commit
Input: edt_ft5x06 - use devm_* functions where appropriate
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 17 Jan 2014 00:26:55 +0000 (16:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 Jan 2014 04:29:21 +0000 (20:29 -0800)
commit3796a30472720ac1823565e46b35d5ab113b5b9c
treedb7f77fcdff21398c10c1eca8d45a37a37632dcf
parent9524c82fdd6ab91d6dc9317405cef15076d43e58
Input: edt_ft5x06 - use devm_* functions where appropriate

Simplify the error path and remove() function by using devm_*
functions for requesting gpios and irq and allocating the input
device.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c