Input: pmic8xxx-pwrkey - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Dec 2013 11:28:26 +0000 (03:28 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 28 Dec 2013 01:18:29 +0000 (17:18 -0800)
commiteb735d3b841b42fd56d6bfb4039d61aa0fc3cf8d
tree83caf969703156d85782a3393055e00b5e1aa50b
parente77a715ac3af14d16c027caebdb0ce5412976b9e
Input: pmic8xxx-pwrkey - switch to using managed resources

This simplifies error handling and device removal paths.

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