aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/ti_hecc.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/ti_hecc.c
parentmtd: spi-nor: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.xz
linux-dev-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/ti_hecc.c')
-rw-r--r--drivers/net/can/ti_hecc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c
index 258b9c4856ec..9a07eafe554b 100644
--- a/drivers/net/can/ti_hecc.c
+++ b/drivers/net/can/ti_hecc.c
@@ -1039,7 +1039,6 @@ static int ti_hecc_resume(struct platform_device *pdev)
static struct platform_driver ti_hecc_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
},
.probe = ti_hecc_probe,
.remove = ti_hecc_remove,