]> 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)
commit4608d82e3c49274ead76bca14f5b4ca8de18ce62
treedb7f77fcdff21398c10c1eca8d45a37a37632dcf
parent89c78539a7adcd02dce9055df9cf056ef64dac33
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