mtd: nand: mxc_nand: drop owner assignment

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:19 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=5c5594c92d2300cc955acd5537e782fbf372caa2
Commit:     5c5594c92d2300cc955acd5537e782fbf372caa2
Parent:     fe003bc8311f3797b802361dbb6465e13dd43a7f
Author:     Frans Klaver <fransklaver at gmail.com>
AuthorDate: Wed Jun 10 22:38:54 2015 +0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 12:56:38 2015 -0700

    mtd: nand: mxc_nand: drop owner assignment
    
    Owner is automatically set by mtdcore. Make use of that.
    
    Signed-off-by: Frans Klaver <fransklaver at gmail.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/mxc_nand.c | 1 -
 1 file changed, 1 deletion(-)

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;
 



More information about the linux-mtd-cvs mailing list