aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-03-29 07:08:12 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 09:13:28 -0400
commite553ea09e26810221707e16842e8c7e05297ac75 (patch)
treec9dfd10a53258022f5735222e89d92e10a3847eb /drivers/gpu/drm/omapdrm/dss
parent43f7078f6b6f8fed8edfbbdeff83e276306e5e6e (diff)
drm/omap: dss: Remove unused omap_dss_driver operations
The .probe(), .remove(), .run_test(), .get_rotate() and .set_rotate() omap_dss_driver operations are not used. Remove them. 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/dss')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/omapdss.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index c00572ecb9d6..01ba919e34df 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -434,9 +434,6 @@ struct omap_dss_device {
434}; 434};
435 435
436struct omap_dss_driver { 436struct omap_dss_driver {
437 int (*probe)(struct omap_dss_device *);
438 void (*remove)(struct omap_dss_device *);
439
440 int (*connect)(struct omap_dss_device *src, 437 int (*connect)(struct omap_dss_device *src,
441 struct omap_dss_device *dst); 438 struct omap_dss_device *dst);
442 void (*disconnect)(struct omap_dss_device *src, 439 void (*disconnect)(struct omap_dss_device *src,
@@ -444,7 +441,6 @@ struct omap_dss_driver {
444 441
445 int (*enable)(struct omap_dss_device *display); 442 int (*enable)(struct omap_dss_device *display);
446 void (*disable)(struct omap_dss_device *display); 443 void (*disable)(struct omap_dss_device *display);
447 int (*run_test)(struct omap_dss_device *display, int test);
448 444
449 int (*update)(struct omap_dss_device *dssdev, 445 int (*update)(struct omap_dss_device *dssdev,
450 u16 x, u16 y, u16 w, u16 h); 446 u16 x, u16 y, u16 w, u16 h);
@@ -453,9 +449,6 @@ struct omap_dss_driver {
453 int (*enable_te)(struct omap_dss_device *dssdev, bool enable); 449 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
454 int (*get_te)(struct omap_dss_device *dssdev); 450 int (*get_te)(struct omap_dss_device *dssdev);
455 451
456 u8 (*get_rotate)(struct omap_dss_device *dssdev);
457 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate);
458
459 bool (*get_mirror)(struct omap_dss_device *dssdev); 452 bool (*get_mirror)(struct omap_dss_device *dssdev);
460 int (*set_mirror)(struct omap_dss_device *dssdev, bool enable); 453 int (*set_mirror)(struct omap_dss_device *dssdev, bool enable);
461 454