From f64eafa0c82e4dfca68dad61889a63770ef75e07 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 16 Aug 2017 12:43:55 +0300 Subject: [PATCH] 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 --- drivers/gpu/drm/omapdrm/dss/core.c | 2 +- drivers/gpu/drm/omapdrm/omap_drv.c | 2 +- 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, -- 2.20.1