Input: spear-keyboard - switch to using managed resources
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Nov 2012 05:41:24 +0000 (21:41 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Nov 2012 08:29:55 +0000 (00:29 -0800)
commit6102752eb354cca8fb751d8bace2c1ad4efffdde
treeea1ea70a1f859c3899526e5c3c479d7c027c3d77
parent1eee4af30e9261114e6e4e3576f130780124d7be
Input: spear-keyboard - switch to using managed resources

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