From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:58 +0000 (+0200) Subject: mtd: nand: bcm47xxnflash: drop owner assignment from platform_drivers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50e23b45999a54a0c9f2865a738559d95c8ecd62;p=linux-beck.git mtd: nand: bcm47xxnflash: 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 --- diff --git a/drivers/mtd/nand/bcm47xxnflash/main.c b/drivers/mtd/nand/bcm47xxnflash/main.c index 107445911315..461577cfb5bc 100644 --- a/drivers/mtd/nand/bcm47xxnflash/main.c +++ b/drivers/mtd/nand/bcm47xxnflash/main.c @@ -73,7 +73,6 @@ static struct platform_driver bcm47xxnflash_driver = { .remove = bcm47xxnflash_remove, .driver = { .name = "bcma_nflash", - .owner = THIS_MODULE, }, };