OSDN Git Service

gpu: drm: exynos: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:32 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:32 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 443a206..9ee00c9 100644 (file)
@@ -724,7 +724,6 @@ static struct platform_driver exynos_drm_platform_driver = {
        .probe  = exynos_drm_platform_probe,
        .remove = exynos_drm_platform_remove,
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "exynos-drm",
                .pm     = &exynos_drm_pm_ops,
        },