OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/drivers/mtd/onenand/omap2.c
b/drivers/mtd/onenand/omap2.c
index
646ddd6
..
3e02856
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;