aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:58 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:58 -0400
commit50e23b45999a54a0c9f2865a738559d95c8ecd62 (patch)
treec97c0b0ca0510c1c61b4902f4ceea47ca83f080d
parent5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (diff)
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 <wsa@the-dreams.de>
-rw-r--r--drivers/mtd/nand/bcm47xxnflash/main.c1
1 files changed, 0 insertions, 1 deletions
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 = {
73 .remove = bcm47xxnflash_remove, 73 .remove = bcm47xxnflash_remove,
74 .driver = { 74 .driver = {
75 .name = "bcma_nflash", 75 .name = "bcma_nflash",
76 .owner = THIS_MODULE,
77 }, 76 },
78}; 77};
79 78