Input: pm8xxx-vibrator - switch to using managed resources
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 15 Dec 2013 11:43:06 +0000 (03:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Dec 2013 11:58:31 +0000 (03:58 -0800)
commit12a5a8fdfbab14427df0eb6e6c05559444ee2c73
tree421b3a82a1c8b75043ec4ac1f8638738eb4841c3
parent9222d8069d3812400b346ebd5fea47b8b88c7cbf
Input: pm8xxx-vibrator - switch to using managed resources

Simplify the error paths and reduce the lines of code in this
driver by using the devm_* APIs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/pm8xxx-vibrator.c