diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:01 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:01 +0200 |
commit | 0a6e54be42d2e61425188b84068aa74234ba1bbc (patch) | |
tree | be9e67b1d4863724982d747b9fb5ca179b53d74c /drivers | |
parent | 3865fe261941a21eceac220d837c58a2a957c2f3 (diff) | |
download | linux-0a6e54be42d2e61425188b84068aa74234ba1bbc.tar.bz2 |
net: can: mscan: 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')
-rw-r--r-- | drivers/net/can/mscan/mpc5xxx_can.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c index 44725296f72a..ad024e60ba8c 100644 --- a/drivers/net/can/mscan/mpc5xxx_can.c +++ b/drivers/net/can/mscan/mpc5xxx_can.c @@ -441,7 +441,6 @@ MODULE_DEVICE_TABLE(of, mpc5xxx_can_table); static struct platform_driver mpc5xxx_can_driver = { .driver = { .name = "mpc5xxx_can", - .owner = THIS_MODULE, .of_match_table = mpc5xxx_can_table, }, .probe = mpc5xxx_can_probe, |