]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: EXYNOS: Drop owner assignment in pmu.c
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:04:28 +0000 (14:04 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 21 Jul 2015 04:18:14 +0000 (13:18 +0900)
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/pmu.c

index 8d5b0dcc618bf3d21a02a629490e44cc672ccbaf..de68938ee6aa89a070c910c6de1cf1f5035cf0a4 100644 (file)
@@ -991,7 +991,6 @@ static int exynos_pmu_probe(struct platform_device *pdev)
 static struct platform_driver exynos_pmu_driver = {
        .driver  = {
                .name   = "exynos-pmu",
-               .owner  = THIS_MODULE,
                .of_match_table = exynos_pmu_of_device_ids,
        },
        .probe = exynos_pmu_probe,