summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 22:38:54 +0200
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 12:56:38 -0700
commit5c5594c92d2300cc955acd5537e782fbf372caa2 (patch)
treedbbc56ff953becd80ef1954da25156bce2445a6e /drivers/mtd
parentfe003bc8311f3797b802361dbb6465e13dd43a7f (diff)
downloadop-kernel-dev-5c5594c92d2300cc955acd5537e782fbf372caa2.zip
op-kernel-dev-5c5594c92d2300cc955acd5537e782fbf372caa2.tar.gz
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')
-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;
OpenPOWER on IntegriCloud