summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 23:38:50 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 22:56:32 +0300
commit52364683d5dc4beec9ba61a3fb848821b5cb66c4 (patch)
treec0265c6e8449341d9698faf2180f7968794f3cf3 /drivers/mtd/nand
parent4dc67b1d507133a3d6e93c39993efb6af176d59b (diff)
downloadlinux-52364683d5dc4beec9ba61a3fb848821b5cb66c4.tar.xz
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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/hisi504_nand.c1
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;