diff options
author | Frans Klaver <fransklaver@gmail.com> | 2015-06-10 22:38:50 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-13 21:56:32 +0200 |
commit | 52364683d5dc4beec9ba61a3fb848821b5cb66c4 (patch) | |
tree | c0265c6e8449341d9698faf2180f7968794f3cf3 | |
parent | mtd: nand: gpmi-nand: show parent device in sysfs (diff) | |
download | linux-52364683d5dc4beec9ba61a3fb848821b5cb66c4.tar.xz linux-52364683d5dc4beec9ba61a3fb848821b5cb66c4.zip |
mtd: nand: hisi504_nand: drop owner assignment
Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | drivers/mtd/nand/hisi504_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/hisi504_nand.c b/drivers/mtd/nand/hisi504_nand.c index 8dcc7b8fee40..6099aaa5ee40 100644 --- a/drivers/mtd/nand/hisi504_nand.c +++ b/drivers/mtd/nand/hisi504_nand.c @@ -737,7 +737,6 @@ static int hisi_nfc_probe(struct platform_device *pdev) } mtd->priv = chip; - mtd->owner = THIS_MODULE; mtd->name = "hisi_nand"; mtd->dev.parent = &pdev->dev; |