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:
f0aa200
)
mtd: nand: r852: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:02 +0000
(22:39 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:35 +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/r852.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/r852.c
b/drivers/mtd/nand/r852.c
index cc6bac537f5a286a9cfd7027d0da2555886e5dbe..d8bb2be327f11633b4ae765e68aa570888cba278 100644
(file)
--- a/
drivers/mtd/nand/r852.c
+++ b/
drivers/mtd/nand/r852.c
@@
-641,7
+641,6
@@
static int r852_register_nand_device(struct r852_device *dev)
WARN_ON(dev->card_registred);
- dev->mtd->owner = THIS_MODULE;
dev->mtd->priv = dev->chip;
dev->mtd->dev.parent = &dev->pci_dev->dev;