summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-08-16 12:43:55 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-08-16 15:38:52 +0300
commitf64eafa0c82e4dfca68dad61889a63770ef75e07 (patch)
tree450e2dfcda1d06b47e86b25b8a1e0c572219154b /drivers
parent739a6d5d640a9811beef6a828253ee184dd431c5 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/core.c2
-rw-r--r--drivers/gpu/drm/omapdrm/omap_drv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/drivers/gpu/drm/omapdrm/dss/core.c
index c5d7ffdc7d35..197ddbc1512b 100644
--- a/drivers/gpu/drm/omapdrm/dss/core.c
+++ b/drivers/gpu/drm/omapdrm/dss/core.c
@@ -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;
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index 2b990daf0052..9a14553265d8 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -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,