omapfb: 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>
This commit is contained in:
Peter Ujfalusi 2016-05-27 12:58:42 +03:00
parent 14c6802dfd
commit 8a79f5823f
1 changed files with 0 additions and 2 deletions

View File

@ -208,8 +208,6 @@ static int __init omap_dss_probe(struct platform_device *pdev)
core.default_display_name = def_disp_name; core.default_display_name = def_disp_name;
else if (pdata->default_display_name) else if (pdata->default_display_name)
core.default_display_name = 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;
register_pm_notifier(&omap_dss_pm_notif_block); register_pm_notifier(&omap_dss_pm_notif_block);