summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:58 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:58 +0200
commit50e23b45999a54a0c9f2865a738559d95c8ecd62 (patch)
treec97c0b0ca0510c1c61b4902f4ceea47ca83f080d /drivers/mtd
parent5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (diff)
downloadlinux-50e23b45999a54a0c9f2865a738559d95c8ecd62.tar.gz
linux-50e23b45999a54a0c9f2865a738559d95c8ecd62.tar.bz2
linux-50e23b45999a54a0c9f2865a738559d95c8ecd62.zip
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>
Diffstat (limited to 'drivers/mtd')
-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 = {
.remove = bcm47xxnflash_remove,
.driver = {
.name = "bcma_nflash",
- .owner = THIS_MODULE,
},
};