drm/msm/dsi: Pull out panel init code into function
authorSean Paul <seanpaul@chromium.org>
Mon, 17 Jun 2019 20:12:54 +0000 (16:12 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 20 Jun 2019 18:42:11 +0000 (14:42 -0400)
commit4f229b41386fbf290505411964c8ed25f48e1656
tree7fe5114e5bf24883784b27aab2e2090e588f35e5
parent09951aaa7229b253b0e00979d6c6d17b20e16fe4
drm/msm/dsi: Pull out panel init code into function

Pull all of the panel init code out of detect() and put it in its own
function. This will be useful in future patches where it's moved from
detect().

Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-6-sean@poorly.run
drivers/gpu/drm/msm/dsi/dsi_manager.c