]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0a70adb6ab83384c0242ec6db39a1c628a587f0
tree62c2205f43471f50c75571ab19a8a0bbfcce4a1e
parent824b0b4b410b0272643339cf63a396f4020686c6
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