diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-05-27 12:58:02 +0300 |
---|---|---|
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-06-03 16:06:33 +0300 |
commit | 14c6802dfd009fd93803dbf8e7ab1acd6ac1b278 (patch) | |
tree | 099ad1f8763cc2e3c031790457e61207afea04ba /drivers/gpu/drm/omapdrm | |
parent | 85e882379d48967e330b63080cbb668b2156f9ce (diff) | |
download | linux-14c6802dfd009fd93803dbf8e7ab1acd6ac1b278.tar.gz linux-14c6802dfd009fd93803dbf8e7ab1acd6ac1b278.tar.bz2 linux-14c6802dfd009fd93803dbf8e7ab1acd6ac1b278.zip |
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@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/core.c | 2 |
1 files changed, 0 insertions, 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; |