projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d5955
)
mtd: nand: cafe_nand: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:40 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:27 +0000
(12:56 -0700)
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>
drivers/mtd/nand/cafe_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/cafe_nand.c
b/drivers/mtd/nand/cafe_nand.c
index 9a0f45f1d932d987b4ae11c138d7362a6414dc61..aa1dc559f36192a5d99d41c2e41884989e9b871c 100644
(file)
--- 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);