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

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
...@@ -604,7 +604,6 @@ static int cafe_nand_probe(struct pci_dev *pdev, ...@@ -604,7 +604,6 @@ static int cafe_nand_probe(struct pci_dev *pdev,
mtd->dev.parent = &pdev->dev; mtd->dev.parent = &pdev->dev;
mtd->priv = cafe; mtd->priv = cafe;
mtd->owner = THIS_MODULE;
cafe->pdev = pdev; cafe->pdev = pdev;
cafe->mmio = pci_iomap(pdev, 0, 0); cafe->mmio = pci_iomap(pdev, 0, 0);
......
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