mtd: nand: cafe_nand: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
c7d5955c46
commit
2f5997f13f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user