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:
2f5997f
)
mtd: nand: davinci_nand: drop owner and name assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:41 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:28 +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/nand/davinci_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/davinci_nand.c
b/drivers/mtd/nand/davinci_nand.c
index b90801302df4e29a71bea76752af877b5c078bb0..c72313d66cf6a0d3034ba82d519a3bd315d21c59 100644
(file)
--- a/
drivers/mtd/nand/davinci_nand.c
+++ b/
drivers/mtd/nand/davinci_nand.c
@@
-683,9
+683,6
@@
static int nand_davinci_probe(struct platform_device *pdev)
info->vaddr = vaddr;
info->mtd.priv = &info->chip;
- info->mtd.name = dev_name(&pdev->dev);
- info->mtd.owner = THIS_MODULE;
-
info->mtd.dev.parent = &pdev->dev;
info->chip.IO_ADDR_R = vaddr;