summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:01 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:01 +0200
commit0dc5a27a175b9b90fb8a84846f915d3a9f50dae9 (patch)
tree3d101be659d615884b04eed6f1046cedb23b9274
parentnet: can: sja1000: drop owner assignment from platform_drivers (diff)
downloadlinux-0dc5a27a175b9b90fb8a84846f915d3a9f50dae9.tar.xz
linux-0dc5a27a175b9b90fb8a84846f915d3a9f50dae9.zip
net: can: softing: 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/softing/softing_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c
index bacd236ce306..2bf98d862302 100644
--- a/drivers/net/can/softing/softing_main.c
+++ b/drivers/net/can/softing/softing_main.c
@@ -856,7 +856,6 @@ platform_resource_failed:
static struct platform_driver softing_driver = {
.driver = {
.name = "softing",
- .owner = THIS_MODULE,
},
.probe = softing_pdev_probe,
.remove = softing_pdev_remove,