summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-08-03 22:04:05 -0700
committerSebastian Reichel <sre@kernel.org>2016-08-16 00:29:22 +0200
commitc1a9634f1aaf5e10c23f8890ea2e64c61d48cb44 (patch)
tree0343e34cde7460534ec10e47bc3c38eefff8d9a3 /Documentation/driver-model
parent957cb720518341abf19009044f240a6342bdd039 (diff)
downloadlinux-stable-c1a9634f1aaf5e10c23f8890ea2e64c61d48cb44.tar.gz
linux-stable-c1a9634f1aaf5e10c23f8890ea2e64c61d48cb44.tar.bz2
linux-stable-c1a9634f1aaf5e10c23f8890ea2e64c61d48cb44.zip
power: reset: reboot-mode: Add managed resource API
Provide managed resource version of reboot_mode_register() and reboot_mode_unregister() to simplify implementations. 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>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r--Documentation/driver-model/devres.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index b0d775d28e97..b1ff0b7edb45 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -342,6 +342,10 @@ PINCTRL
devm_pinctrl_register()
devm_pinctrl_unregister()
+POWER
+ devm_reboot_mode_register()
+ devm_reboot_mode_unregister()
+
PWM
devm_pwm_get()
devm_pwm_put()