drm/omap: remove unused fields
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 12 May 2017 09:58:21 +0000 (12:58 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:19 +0000 (10:57 +0300)
Remove unused fields in struct omap_dss_device.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/omapdss.h

index 74408b0ece262a4572a554d2b4b1e53e367abe39..3cf42e5ddf3ee1c0abbffc4c2dac12d019446925 100644 (file)
@@ -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;
 };