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:
40acbab
)
mtd: onenand: omap2: drop owner and name assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:11 +0000
(22:39 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:43 +0000
(12:56 -0700)
Owner and name are 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/onenand/omap2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/onenand/omap2.c
b/drivers/mtd/onenand/omap2.c
index 646ddd6db1b4a24ccd6178f1cad8ff382709de24..3e02856962279485025e5c54f2d2ff4aa05f9f04 100644
(file)
--- a/
drivers/mtd/onenand/omap2.c
+++ b/
drivers/mtd/onenand/omap2.c
@@
-710,9
+710,7
@@
static int omap2_onenand_probe(struct platform_device *pdev)
c->onenand.base, c->freq);
c->pdev = pdev;
- c->mtd.name = dev_name(&pdev->dev);
c->mtd.priv = &c->onenand;
- c->mtd.owner = THIS_MODULE;
c->mtd.dev.parent = &pdev->dev;