]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c014ed2f3ff371b9ce9689e2daa63c7aeae0e77
tree421b3a82a1c8b75043ec4ac1f8638738eb4841c3
parentf2ff1c4bdd6dc825847877eeaf1242b82d1893a0
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