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/grcan.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/grcan.c')
-rw-r--r-- | drivers/net/can/grcan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c index 3fd9fd942c6e..fed1bbd0b0d2 100644 --- a/drivers/net/can/grcan.c +++ b/drivers/net/can/grcan.c @@ -1738,7 +1738,6 @@ MODULE_DEVICE_TABLE(of, grcan_match); static struct platform_driver grcan_driver = { .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .of_match_table = grcan_match, }, .probe = grcan_probe, |