[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160601083549.10549-19-peter.ujfalusi@ti.com>
Date: Wed, 1 Jun 2016 11:35:40 +0300
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: <tomi.valkeinen@...com>, <plagnioj@...osoft.com>,
<robdclark@...il.com>, <airlied@...ux.ie>, <tony@...mide.com>
CC: <linux-fbdev@...r.kernel.org>, <linux-omap@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<laurent.pinchart@...asonboard.com>, <jsarha@...com>,
<dri-devel@...ts.freedesktop.org>
Subject: [PATCH v2 18/27] drm/omap: Remove reference to pdata->default_device
The default_device is no longer used, it is a leftower from legacy. The
else if (pdata->default_device) is always going to be false.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
---
drivers/gpu/drm/omapdrm/dss/core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/drivers/gpu/drm/omapdrm/dss/core.c
index 7e4e5bebabbe..9cf22b30023f 100644
--- a/drivers/gpu/drm/omapdrm/dss/core.c
+++ b/drivers/gpu/drm/omapdrm/dss/core.c
@@ -196,8 +196,6 @@ static int __init omap_dss_probe(struct platform_device *pdev)
core.default_display_name = def_disp_name;
else if (pdata->default_display_name)
core.default_display_name = pdata->default_display_name;
- else if (pdata->default_device)
- core.default_display_name = pdata->default_device->name;
return 0;
--
2.8.3
Powered by blists - more mailing lists