Commit 6031a9c5 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris

mtd: nand: socrates_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 36645652
...@@ -167,7 +167,6 @@ static int socrates_nand_probe(struct platform_device *ofdev) ...@@ -167,7 +167,6 @@ static int socrates_nand_probe(struct platform_device *ofdev)
nand_chip->priv = host; /* link the private data structures */ nand_chip->priv = host; /* link the private data structures */
mtd->priv = nand_chip; mtd->priv = nand_chip;
mtd->name = "socrates_nand"; mtd->name = "socrates_nand";
mtd->owner = THIS_MODULE;
mtd->dev.parent = &ofdev->dev; mtd->dev.parent = &ofdev->dev;
ppdata.of_node = ofdev->dev.of_node; ppdata.of_node = ofdev->dev.of_node;
......
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