]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
drm/exynos: use correct 'exynos-drm' name for platform device
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 5 Mar 2012 11:02:30 +0000 (12:02 +0100)
committerInki Dae <inki.dae@samsung.com>
Thu, 15 Mar 2012 02:38:59 +0000 (11:38 +0900)
Currently Exynos DRM driver uses DRIVER_NAME ('exynos') name for the
core platform device. This is confusing, because it doesn't refer to the
function the platform device is performing. This patch renames the
platform device to the 'exynos-drm', which matches the convention for
naming the platform devices. The name used inside DRM subsystem has not
been changed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 58820ebd35588f8b1e493234022b0e2132996369..09cc13f791b3d005eca2f4c2a9189773d9bd0275 100644 (file)
@@ -246,7 +246,7 @@ static struct platform_driver exynos_drm_platform_driver = {
        .remove         = __devexit_p(exynos_drm_platform_remove),
        .driver         = {
                .owner  = THIS_MODULE,
-               .name   = DRIVER_NAME,
+               .name   = "exynos-drm",
        },
 };