projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfb36e
)
mtd: nand: bcm47xxnflash: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:58 +0000
(16:20 +0200)
committer
Wolfram 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
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/bcm47xxnflash/main.c
b/drivers/mtd/nand/bcm47xxnflash/main.c
index 107445911315cba4f78a509ab72e91677a1cfb18..461577cfb5bc64d2d6ccebeea6d79cc3fff11b34 100644
(file)
--- 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,
},
};