summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 22:38:40 +0200
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 12:56:27 -0700
commit2f5997f13f9e98a9a468d803c6d74852bcef1d01 (patch)
tree4473ae76f2fb5d81b9e5abe1789e1fc80f04d169
parentc7d5955c467c01221fc1ac4b15bba5f255e44454 (diff)
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>
-rw-r--r--drivers/mtd/nand/cafe_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index 9a0f45f1d932..aa1dc559f361 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -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);