diff options
author | Frans Klaver | 2015-06-10 22:38:54 +0200 |
---|---|---|
committer | Brian Norris | 2015-10-13 12:56:38 -0700 |
commit | 5c5594c92d2300cc955acd5537e782fbf372caa2 (patch) | |
tree | dbbc56ff953becd80ef1954da25156bce2445a6e /drivers/mtd/nand/mxc_nand.c | |
parent | fe003bc8311f3797b802361dbb6465e13dd43a7f (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |