drm/msm/dsi: use correct lifetime device for devm_drm_bridge_add
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 11 Oct 2023 21:47:03 +0000 (00:47 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 11 Oct 2023 23:42:10 +0000 (02:42 +0300)
commitbf3f01d326ce8c61a670c0db12ffebc83f00c215
treef6afd3d04f21efbde143c36d81585c740d6b4e48
parent44d8c4d516d951ac29a5f2cab7788002d6a77211
drm/msm/dsi: use correct lifetime device for devm_drm_bridge_add

The lifetime of the created drm_bridge is attached to the drm_device
rather than the DSI's platform_device. Use correct lifetime for
devm_drm_bridge_add() call.

Fixes: 5f403fd7d5c2 ("drm/msm/dsi: switch to devm_drm_bridge_add()")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/562200/
Link: https://lore.kernel.org/r/20231011214705.375738-2-dmitry.baryshkov@linaro.org
drivers/gpu/drm/msm/dsi/dsi_manager.c