aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:01 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:01 -0400
commit0a6e54be42d2e61425188b84068aa74234ba1bbc (patch)
treebe9e67b1d4863724982d747b9fb5ca179b53d74c
parent3865fe261941a21eceac220d837c58a2a957c2f3 (diff)
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);
441static struct platform_driver mpc5xxx_can_driver = { 441static struct platform_driver mpc5xxx_can_driver = {
442 .driver = { 442 .driver = {
443 .name = "mpc5xxx_can", 443 .name = "mpc5xxx_can",
444 .owner = THIS_MODULE,
445 .of_match_table = mpc5xxx_can_table, 444 .of_match_table = mpc5xxx_can_table,
446 }, 445 },
447 .probe = mpc5xxx_can_probe, 446 .probe = mpc5xxx_can_probe,