Input: samsung-keypad - switch to using managed resources
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 28 Nov 2012 06:34:38 +0000 (22:34 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 28 Nov 2012 06:38:37 +0000 (22:38 -0800)
commita57da34795452bbe44b55e2b69c3ab6b117cc4b4
tree049d65cd15dd174103aec81e5fae42c23db0472c
parent9336648978c2e9de9bf3c026918db386ace19a86
Input: samsung-keypad - switch to using managed resources

devm_* functions are device managed and make error handling and code
simpler. While at it also fix error exit paths.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/samsung-keypad.c