diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:59 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:59 (GMT) |
commit | 0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (patch) | |
tree | 76a4fd59a3dfed4338628b15798b0c4fc1978534 /drivers/net/can/flexcan.c | |
parent | c084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f (diff) | |
download | linux-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.xz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index 60f86bd..f1221b2 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, }, |