diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:59 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:59 +0200 |
commit | 0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (patch) | |
tree | 76a4fd59a3dfed4338628b15798b0c4fc1978534 /drivers/net/can/xilinx_can.c | |
parent | mtd: spi-nor: drop owner assignment from platform_drivers (diff) | |
download | linux-0e9063242671dcbc9ca1a10ff5a0cd2dc078397e.tar.xz 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/xilinx_can.c')
-rw-r--r-- | drivers/net/can/xilinx_can.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 5e8b5609c067..72fe96fc8fef 100644 --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c @@ -1194,7 +1194,6 @@ static struct platform_driver xcan_driver = { .probe = xcan_probe, .remove = xcan_remove, .driver = { - .owner = THIS_MODULE, .name = DRIVER_NAME, .pm = &xcan_dev_pm_ops, .of_match_table = xcan_of_match, |