summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-02-27 20:11:52 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 16:13:25 +0300
commitd65b0e0530bbdf2c90657c086319f68ddfd3837d (patch)
tree9760b4992662f3fcbe10930130078378cd1affbf /drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
parente0528c944058e137a1c74176173109a6864241ac (diff)
downloadlwn-d65b0e0530bbdf2c90657c086319f68ddfd3837d.tar.gz
lwn-d65b0e0530bbdf2c90657c086319f68ddfd3837d.zip
drm/omap: displays: Remove videomode from omap_dss_device structure
The omap_dss_device structure stores a videomode. All the connector and panel drivers that use omap_dss_device also store the videomode in their own panel_drv_data structures. There's no need to duplicate, remove the videomode field from omap_dss_device. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c')
-rw-r--r--drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c b/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
index 4753e5455f82..f35e2afa3e9c 100644
--- a/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
+++ b/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
@@ -131,7 +131,6 @@ static void tpd_set_timings(struct omap_dss_device *dssdev,
struct omap_dss_device *in = ddata->in;
ddata->vm = *vm;
- dssdev->panel.vm = *vm;
in->ops.hdmi->set_timings(in, vm);
}