]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mtd: nand: bcm47xxnflash: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:58 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:58 +0000 (16:20 +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/mtd/nand/bcm47xxnflash/main.c

index 107445911315cba4f78a509ab72e91677a1cfb18..461577cfb5bc64d2d6ccebeea6d79cc3fff11b34 100644 (file)
@@ -73,7 +73,6 @@ static struct platform_driver bcm47xxnflash_driver = {
        .remove = bcm47xxnflash_remove,
        .driver = {
                .name = "bcma_nflash",
-               .owner = THIS_MODULE,
        },
 };