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: NBjorn Andersson <bjorn.andersson@linaro.org> Tested-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NSebastian Reichel <sre@kernel.org>
Showing
想要评论请 注册 或 登录