From: Wolfram Sang Date: Mon, 20 Oct 2014 14:21:00 +0000 (+0200) Subject: net: can: c_can: drop owner assignment from platform_drivers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3865fe261941a21eceac220d837c58a2a957c2f3;p=linux-beck.git net: can: c_can: 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/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index fb279d6ae484..d06f45dc0f59 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c @@ -392,7 +392,6 @@ static int c_can_resume(struct platform_device *pdev) static struct platform_driver c_can_plat_driver = { .driver = { .name = KBUILD_MODNAME, - .owner = THIS_MODULE, .of_match_table = c_can_of_table, }, .probe = c_can_plat_probe,