summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/janz-ican3.c
diff options
context:
space:
mode:
authorWolfram Sang2014-10-20 16:20:59 +0200
committerWolfram Sang2014-10-20 16:20:59 +0200
commit0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (patch)
tree76a4fd59a3dfed4338628b15798b0c4fc1978534 /drivers/net/can/janz-ican3.c
parentmtd: spi-nor: drop owner assignment from platform_drivers (diff)
downloadkernel-qcow2-linux-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.gz
kernel-qcow2-linux-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.xz
kernel-qcow2-linux-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.zip
net: 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>
Diffstat (limited to 'drivers/net/can/janz-ican3.c')
-rw-r--r--drivers/net/can/janz-ican3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/janz-ican3.c b/drivers/net/can/janz-ican3.c
index 2382c04dc780..1b118394907f 100644
--- a/drivers/net/can/janz-ican3.c
+++ b/drivers/net/can/janz-ican3.c
@@ -1910,7 +1910,6 @@ static int ican3_remove(struct platform_device *pdev)
static struct platform_driver ican3_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
},
.probe = ican3_probe,
.remove = ican3_remove,