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

Commit 2f5997f1 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: nand: cafe_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 c7d5955c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -604,7 +604,6 @@ static int cafe_nand_probe(struct pci_dev *pdev,

	mtd->dev.parent = &pdev->dev;
	mtd->priv = cafe;
	mtd->owner = THIS_MODULE;

	cafe->pdev = pdev;
	cafe->mmio = pci_iomap(pdev, 0, 0);