drm/bridge: ti-sn65dsi86: Use devm to do our runtime_disable
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:50 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 3 May 2021 20:21:08 +0000 (13:21 -0700)
commitdea2500a820c0005bf0092d77d77eb9ca819ca1f
tree980699e59720aa399305aab4bef923d356a9d40e
parent905d66d08d0f73a3fbd2d16c6756e30272ac81b5
drm/bridge: ti-sn65dsi86: Use devm to do our runtime_disable

There's no devm_runtime_enable(), but it's easy to use
devm_add_action_or_reset() and means we don't need to worry about the
disable in our remove() routine or in error paths.

No functional changes intended by this change.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.4.I1e627eb5f316c0cf6595b120e6e262f5bf890300@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c