diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:00 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:00 -0400 |
commit | 3865fe261941a21eceac220d837c58a2a957c2f3 (patch) | |
tree | 14de21d9e44c1445e8639b1ad303f1e83f3953ea | |
parent | 8e58ed1ce23ad66dc4f30a7532bce0bcb80e27a2 (diff) |
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 <wsa@the-dreams.de>
-rw-r--r-- | drivers/net/can/c_can/c_can_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
392 | static struct platform_driver c_can_plat_driver = { | 392 | static struct platform_driver c_can_plat_driver = { |
393 | .driver = { | 393 | .driver = { |
394 | .name = KBUILD_MODNAME, | 394 | .name = KBUILD_MODNAME, |
395 | .owner = THIS_MODULE, | ||
396 | .of_match_table = c_can_of_table, | 395 | .of_match_table = c_can_of_table, |
397 | }, | 396 | }, |
398 | .probe = c_can_plat_probe, | 397 | .probe = c_can_plat_probe, |