]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Move all the chip-related init to the start
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:54 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 3 May 2021 20:21:08 +0000 (13:21 -0700)
commit1b1886cefb8724dc47a1d6c6d662b4e4edce86a0
tree2b02a17297bb64d58e6546f1c4d31ce0964c5617
parent633756ea76fc2418a11a55e4a72d91116b4de07e
drm/bridge: ti-sn65dsi86: Move all the chip-related init to the start

This is just code motion of the probe routine to move all the things
that are for the "whole chip" (instead of the GPIO parts or the
MIPI-to-eDP parts) together at the start of probe. This is in
preparation for breaking the driver into sub-drivers.

Since we're using devm for all of the "whole chip" stuff this is
actually quite easy now.

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.8.Ide8ba40feb2e43bc98a11edbb08d696d62dcd83e@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c