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>
This commit is contained in:

committed by
Tomi Valkeinen

parent
e0528c9440
commit
d65b0e0530
@@ -170,7 +170,6 @@ static void sharp_ls_set_timings(struct omap_dss_device *dssdev,
|
||||
struct omap_dss_device *in = ddata->in;
|
||||
|
||||
ddata->vm = *vm;
|
||||
dssdev->panel.vm = *vm;
|
||||
|
||||
in->ops.dpi->set_timings(in, vm);
|
||||
}
|
||||
@@ -281,7 +280,6 @@ static int sharp_ls_probe(struct platform_device *pdev)
|
||||
dssdev->driver = &sharp_ls_ops;
|
||||
dssdev->type = OMAP_DISPLAY_TYPE_DPI;
|
||||
dssdev->owner = THIS_MODULE;
|
||||
dssdev->panel.vm = ddata->vm;
|
||||
|
||||
r = omapdss_register_display(dssdev);
|
||||
if (r) {
|
||||
|
Reference in New Issue
Block a user