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)
commit02300bd6517e19bd8651c9e72c788749a442ae22
treedb7f77fcdff21398c10c1eca8d45a37a37632dcf
parentc3c4d99485ea51cd354ed3cd955a8310703456b6
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