diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-12-15 12:46:19 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 16:08:26 +0200 |
commit | 2390fadb78f0d3777267753fe919caa07e264014 (patch) | |
tree | 9b95e5ef082cc6864224d92f0e7ccb6b336a88e1 /drivers/gpu/drm/omapdrm/dss/base.c | |
parent | 27e1d068df13016d3430114164b7f84d480b0cb0 (diff) | |
download | lwn-2390fadb78f0d3777267753fe919caa07e264014.tar.gz lwn-2390fadb78f0d3777267753fe919caa07e264014.zip |
drm/omap: drop dssdev display field
All displays are now using a drm_panel or a drm_bridge that models the
connector instead of dssdev, so this field is always 0 and can be
dropped.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-47-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/base.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers/gpu/drm/omapdrm/dss/base.c index 332eb0d02c6d..f4a9fcf66b94 100644 --- a/drivers/gpu/drm/omapdrm/dss/base.c +++ b/drivers/gpu/drm/omapdrm/dss/base.c @@ -198,7 +198,7 @@ void omapdss_device_disconnect(struct omap_dss_device *src, } if (!dst->id && !omapdss_device_is_connected(dst)) { - WARN_ON(!dst->display); + WARN_ON(1); return; } |