aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/dss.c
diff options
context:
space:
mode:
authorSebastian Reichel <[email protected]>2020-12-15 10:46:14 +0000
committerTomi Valkeinen <[email protected]>2020-12-15 14:08:25 +0000
commit9be5bab37d0bce0fbd8ac0edab66c417eebec9d9 (patch)
tree8ea895cad9c45cefdcc5d7a928271fc434635bac /drivers/gpu/drm/omapdrm/dss/dss.c
parentdrm/omap: dsi: Register a drm_bridge (diff)
downloadkernel-9be5bab37d0bce0fbd8ac0edab66c417eebec9d9.tar.gz
kernel-9be5bab37d0bce0fbd8ac0edab66c417eebec9d9.zip
drm/omap: remove legacy DSS device operations
All DSS devices have been converted to bridge API, so the device operations are always NULL. This removes the device ops function pointers and all code using it. Signed-off-by: Sebastian Reichel <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/dss.c')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/dss.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c
index 0556711f57cd..6dd40d746b37 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss.c
+++ b/drivers/gpu/drm/omapdrm/dss/dss.c
@@ -1568,15 +1568,7 @@ static int dss_remove(struct platform_device *pdev)
static void dss_shutdown(struct platform_device *pdev)
{
- struct omap_dss_device *dssdev = NULL;
-
DSSDBG("shutdown\n");
-
- for_each_dss_output(dssdev) {
- if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE &&
- dssdev->ops && dssdev->ops->disable)
- dssdev->ops->disable(dssdev);
- }
}
static int dss_runtime_suspend(struct device *dev)