drm/omap: rename omapdrm device back

Now that creating the omapdrm device from the platform code has been
removed, we can rename the omapdrm device back to "omapdrm".

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Tomi Valkeinen 2017-08-16 12:43:55 +03:00
parent 739a6d5d64
commit f64eafa0c8
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ static int __init omap_dss_init(void)
goto err_reg;
}
omap_drm_device = platform_device_register_simple("omapdrm_", 0, NULL, 0);
omap_drm_device = platform_device_register_simple("omapdrm", 0, NULL, 0);
if (IS_ERR(omap_drm_device)) {
r = PTR_ERR(omap_drm_device);
goto err_reg;

View File

@ -768,7 +768,7 @@ static SIMPLE_DEV_PM_OPS(omapdrm_pm_ops, omap_drm_suspend, omap_drm_resume);
static struct platform_driver pdev = {
.driver = {
.name = "omapdrm_",
.name = "omapdrm",
.pm = &omapdrm_pm_ops,
},
.probe = pdev_probe,