Input: stmpe-ts - switch to using managed resources
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 10 Nov 2012 07:56:59 +0000 (23:56 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Nov 2012 08:30:48 +0000 (00:30 -0800)
commit2bd942f90a6021d5d9f49c28663f38f5b575a818
tree62c2205f43471f50c75571ab19a8a0bbfcce4a1e
parentaaa4f2a7f6cce4485dc60063a56e210761f5a0c8
Input: stmpe-ts - switch to using managed resources

This patch frees stmpe-ts driver from burden of freeing resources :)
devm_* derivatives of multiple routines are used while allocating resources,
which would be freed automatically by kernel.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmpe-ts.c