Input: stmpe-keyboard - switch to using managed resources
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 10 Nov 2012 08:11:10 +0000 (00:11 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Nov 2012 08:30:33 +0000 (00:30 -0800)
commitaaa4f2a7f6cce4485dc60063a56e210761f5a0c8
tree1f84b9eda26990b93e4ec5cba60e0bf274824b46
parent6102752eb354cca8fb751d8bace2c1ad4efffdde
Input: stmpe-keyboard - switch to using managed resources

This patch frees stmpe-keyboard 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/keyboard/stmpe-keypad.c