]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: can: mscan: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:01 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:01 +0000 (16:21 +0200)
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>
drivers/net/can/mscan/mpc5xxx_can.c

index 44725296f72a25b07d21bb92f9af1f0534980bc5..ad024e60ba8c332e1a42f58fa3b1f1d25a3523d9 100644 (file)
@@ -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,