From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:58 +0000 (+0200) Subject: net: dsa: drop owner assignment from platform_drivers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0dd115381375408110d7848cfbc5b5d0fafc1d44;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: dsa: 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/net/dsa/dsa.c b/net/dsa/dsa.c index 22f34cf4cb27..29a8e972931a 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = { .shutdown = dsa_shutdown, .driver = { .name = "dsa", - .owner = THIS_MODULE, .of_match_table = dsa_of_match_table, .pm = &dsa_pm_ops, },