[PATCHv3 2/4] Input: edt_ft5x06: use devm_* functions where appropriate

2014-01-17 Thread Lothar Waßmann
Simplify the error path and remove() function by using devm_* functions for requesting gpios and irq and allocating memory. Signed-off-by: Lothar Waßmann --- drivers/input/touchscreen/edt-ft5x06.c | 66 +++- 1 files changed, 23 insertions(+), 43 deletions(-) diff

[PATCHv3 2/4] Input: edt_ft5x06: use devm_* functions where appropriate

2014-01-17 Thread Lothar Waßmann
Simplify the error path and remove() function by using devm_* functions for requesting gpios and irq and allocating memory. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/input/touchscreen/edt-ft5x06.c | 66 +++- 1 files changed, 23