From: Tomi Valkeinen Date: Fri, 12 May 2017 12:58:21 +0300 Subject: drm/omap: remove unused fields Git-commit: c63204781b9320cf19044c0464350676bcae1219 Patch-mainline: v4.13-rc1 References: FATE#326289 FATE#326079 FATE#326049 FATE#322398 FATE#326166 Remove unused fields in struct omap_dss_device. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Acked-by: Petr Tesarik --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 17 ----------------- 1 file changed, 17 deletions(-) --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -596,12 +596,6 @@ struct omap_dss_device { enum omap_display_type type; enum omap_display_type output_type; - union { - struct { - int module; - } dsi; - } phy; - struct { struct videomode vm; @@ -609,17 +603,8 @@ struct omap_dss_device { enum omap_dss_dsi_mode dsi_mode; } panel; - struct { - u8 pixel_size; - } ctrl; - const char *name; - /* used to match device to driver */ - const char *driver_name; - - void *data; - struct omap_dss_driver *driver; union { @@ -655,8 +640,6 @@ struct omap_dss_device { int port_num; /* dynamic fields */ - struct omap_overlay_manager *manager; - struct omap_dss_device *dst; };