]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbed68c69aa358b4e3dac3484313a79323f9ddc8d
treeea1ea70a1f859c3899526e5c3c479d7c027c3d77
parent29b32c3c8916344676fa60da23255b90bbb9aa52
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