Commit 4d1a1e46 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Rob Clark

drm/msm: remove msm_drm_private::bridges field

As all output devices have switched to devm_drm_bridge_add(), we can
drop the bridges array from struct msm_drm_private.
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/561641/Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 61a72d5e
...@@ -240,10 +240,6 @@ static int msm_drm_uninit(struct device *dev) ...@@ -240,10 +240,6 @@ static int msm_drm_uninit(struct device *dev)
drm_mode_config_cleanup(ddev); drm_mode_config_cleanup(ddev);
for (i = 0; i < priv->num_bridges; i++)
drm_bridge_remove(priv->bridges[i]);
priv->num_bridges = 0;
if (kms) { if (kms) {
pm_runtime_get_sync(dev); pm_runtime_get_sync(dev);
msm_irq_uninstall(ddev); msm_irq_uninstall(ddev);
......
...@@ -206,9 +206,6 @@ struct msm_drm_private { ...@@ -206,9 +206,6 @@ struct msm_drm_private {
struct msm_drm_thread event_thread[MAX_CRTCS]; struct msm_drm_thread event_thread[MAX_CRTCS];
unsigned int num_bridges;
struct drm_bridge *bridges[MAX_BRIDGES];
/* VRAM carveout, used when no IOMMU: */ /* VRAM carveout, used when no IOMMU: */
struct { struct {
unsigned long size; unsigned long size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment