Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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;