summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/mxc_nand.c
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 20:38:54 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 19:56:38 (GMT)
commit5c5594c92d2300cc955acd5537e782fbf372caa2 (patch)
treedbbc56ff953becd80ef1954da25156bce2445a6e /drivers/mtd/nand/mxc_nand.c
parentfe003bc8311f3797b802361dbb6465e13dd43a7f (diff)
downloadlinux-5c5594c92d2300cc955acd5537e782fbf372caa2.tar.xz
mtd: nand: mxc_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/mxc_nand.c')
-rw-r--r--drivers/mtd/nand/mxc_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 6862eb3..136e73a 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1517,7 +1517,6 @@ static int mxcnd_probe(struct platform_device *pdev)
this = &host->nand;
mtd = &host->mtd;
mtd->priv = this;
- mtd->owner = THIS_MODULE;
mtd->dev.parent = &pdev->dev;
mtd->name = DRIVER_NAME;