power: reset: syscon-reboot-mode: Use managed resource API
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 4 Aug 2016 05:04:06 +0000 (22:04 -0700)
committerSebastian Reichel <sre@kernel.org>
Mon, 15 Aug 2016 22:29:34 +0000 (00:29 +0200)
commit8dfdd2a8426b71bf85b400d5226c4c6e0fa21781
tree0713d078628460850fd9b4231b2ffd912165de2e
parentc1a9634f1aaf5e10c23f8890ea2e64c61d48cb44
power: reset: syscon-reboot-mode: Use managed resource API

Use the managed resource version of reboot_mode_register().

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/syscon-reboot-mode.c