summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:01 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:01 +0200
commit0a6e54be42d2e61425188b84068aa74234ba1bbc (patch)
treebe9e67b1d4863724982d747b9fb5ca179b53d74c
parent3865fe261941a21eceac220d837c58a2a957c2f3 (diff)
downloadblackbird-op-linux-0a6e54be42d2e61425188b84068aa74234ba1bbc.tar.gz
blackbird-op-linux-0a6e54be42d2e61425188b84068aa74234ba1bbc.zip
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>
-rw-r--r--drivers/net/can/mscan/mpc5xxx_can.c1
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,
OpenPOWER on IntegriCloud