From: Frans Klaver Date: Wed, 10 Jun 2015 20:38:54 +0000 (+0200) Subject: mtd: nand: mxc_nand: drop owner assignment X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c5594c92d2300cc955acd5537e782fbf372caa2;p=openwrt%2Fstaging%2Fblogic.git mtd: nand: mxc_nand: drop owner assignment Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 6862eb3908c3..136e73a3e07e 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;