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:
ab4a6b4
)
mtd: maps: physmap: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:30 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:21 +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/maps/physmap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/maps/physmap.c
b/drivers/mtd/maps/physmap.c
index 4305fd607015367cea988c9c8dcdbc21b1116d8d..cc2adbbcd60fe0ac0329de8893cf4b9670cac62d 100644
(file)
--- a/
drivers/mtd/maps/physmap.c
+++ b/
drivers/mtd/maps/physmap.c
@@
-167,7
+167,6
@@
static int physmap_flash_probe(struct platform_device *dev)
} else {
devices_found++;
}
- info->mtd[i]->owner = THIS_MODULE;
info->mtd[i]->dev.parent = &dev->dev;
}