summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/ndfc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:58 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:58 +0400
commit5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch)
tree4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/ndfc.c
parentfe5e48259137661a7e07c97a931b4f6aba52ed1e (diff)
downloadlinux-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.tar.xz
mtd: nand: 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/nand/ndfc.c')
-rw-r--r--drivers/mtd/nand/ndfc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 253a644da76a..3187c6b92d9a 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(of, ndfc_match);
static struct platform_driver ndfc_driver = {
.driver = {
.name = "ndfc",
- .owner = THIS_MODULE,
.of_match_table = ndfc_match,
},
.probe = ndfc_probe,