drm/omap: rename omapdrm device back
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Aug 2017 09:43:55 +0000 (12:43 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Aug 2017 12:38:52 +0000 (15:38 +0300)
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>
drivers/gpu/drm/omapdrm/dss/core.c
drivers/gpu/drm/omapdrm/omap_drv.c

index c5d7ffdc7d3585d3650e49eaa8150a7bc477422e..197ddbc1512bb2a3f0380ffb2fe4c8321b0c5050 100644 (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;
index 2b990daf005235524e69c5609a2fd0923afbeca8..9a14553265d8141e397144942756bf6e7b603ee4 100644 (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,