From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:04 +0000 (+0200) Subject: ARM: mach-omap2: drop owner assignment from platform_drivers X-Git-Tag: firefly_0821_release~176^2~2677^2~25^2~294 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ceb8ef2e20fe452f55d9fee0e8c8f2dfcec73db5;p=firefly-linux-kernel-4.4.55.git ARM: mach-omap2: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 5fa3755261ce..c02e581f7cfc 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -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, },