projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201f230
)
mtd: maps: physmap_of: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:31 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:22 +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_of.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/physmap_of.c
b/drivers/mtd/maps/physmap_of.c
index 3e614e9119d58414c0adfdec475629eaf5bb44d4..e46b4e9836668ed5e434e26bb963c2d87b2b7588 100644
(file)
--- a/
drivers/mtd/maps/physmap_of.c
+++ b/
drivers/mtd/maps/physmap_of.c
@@
-290,7
+290,6
@@
static int of_flash_probe(struct platform_device *dev)
} else {
info->list_size++;
}
- info->list[i].mtd->owner = THIS_MODULE;
info->list[i].mtd->dev.parent = &dev->dev;
}