Commit 5c5594c9 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris

mtd: nand: mxc_nand: drop owner assignment

Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent fe003bc8
...@@ -1517,7 +1517,6 @@ static int mxcnd_probe(struct platform_device *pdev) ...@@ -1517,7 +1517,6 @@ static int mxcnd_probe(struct platform_device *pdev)
this = &host->nand; this = &host->nand;
mtd = &host->mtd; mtd = &host->mtd;
mtd->priv = this; mtd->priv = this;
mtd->owner = THIS_MODULE;
mtd->dev.parent = &pdev->dev; mtd->dev.parent = &pdev->dev;
mtd->name = DRIVER_NAME; mtd->name = DRIVER_NAME;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment