mtd: nand: mxc_nand: drop owner assignment
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:54 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:38 +0000 (12:56 -0700)
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>
drivers/mtd/nand/mxc_nand.c

index 6862eb3908c3acd5099628134f17d77bce1e0aa2..136e73a3e07e5359aee12877f96cfe81b71caba2 100644 (file)
@@ -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;