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:
0df4155
)
mtd: maps: plat_ram: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:32 +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/plat-ram.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/plat-ram.c
b/drivers/mtd/maps/plat-ram.c
index 4b65c08d15f6b7a11460136351e4e1497fce06f5..51572895c02cc42f8d3ad0d153625c8d3e7263ee 100644
(file)
--- a/
drivers/mtd/maps/plat-ram.c
+++ b/
drivers/mtd/maps/plat-ram.c
@@
-210,7
+210,6
@@
static int platram_probe(struct platform_device *pdev)
goto exit_free;
}
- info->mtd->owner = THIS_MODULE;
info->mtd->dev.parent = &pdev->dev;
platram_setrw(info, PLATRAM_RW);