]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mach-omap2: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:04 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:04 +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>
arch/arm/mach-omap2/gpmc.c

index 5fa3755261ce661fe11c6b8d9b0094d14fb317dc..c02e581f7cfcbf7c7513473a70856d0eec3207bd 100644 (file)
@@ -1760,7 +1760,6 @@ static struct platform_driver gpmc_driver = {
        .remove         = gpmc_remove,
        .driver         = {
                .name   = DEVICE_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(gpmc_dt_ids),
                .pm     = &gpmc_pm_ops,
        },