thermal: samsung: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:43 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:43 +0000 (16:21 +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/thermal/samsung/exynos_tmu.c

index acbff14da3a492b776c1e48c2c90461c82779f77..79c3d95e6513f5dbe08bdd6d3a42ccf4ec5cd75e 100644 (file)
@@ -806,7 +806,6 @@ static SIMPLE_DEV_PM_OPS(exynos_tmu_pm,
 static struct platform_driver exynos_tmu_driver = {
        .driver = {
                .name   = "exynos-tmu",
-               .owner  = THIS_MODULE,
                .pm     = EXYNOS_TMU_PM,
                .of_match_table = exynos_tmu_match,
        },