summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/flexcan.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:59 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:59 +0200
commit0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (patch)
tree76a4fd59a3dfed4338628b15798b0c4fc1978534 /drivers/net/can/flexcan.c
parentc084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f (diff)
downloadlinux-stable-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.gz
linux-stable-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.bz2
linux-stable-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/flexcan.c')
-rw-r--r--drivers/net/can/flexcan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index 60f86bd0434a..f1221b27abd3 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -1367,7 +1367,6 @@ static SIMPLE_DEV_PM_OPS(flexcan_pm_ops, flexcan_suspend, flexcan_resume);
static struct platform_driver flexcan_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &flexcan_pm_ops,
.of_match_table = flexcan_of_match,
},