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:
ff6ee10
)
mtd: nand: jz4780: fixup, device structure assigned at probe
author
Jorge Ramirez-Ortiz
<
[email protected]
>
Thu, 24 Mar 2016 01:53:27 +0000
(21:53 -0400)
committer
Boris Brezillon
<
[email protected]
>
Tue, 19 Apr 2016 20:04:50 +0000
(22:04 +0200)
bch->dev is already assigned to &pdev->dev in the probe function.
Remove the duplicate assignment done in jz4780_bch_get().
Signed-off-by: Jorge Ramirez-Ortiz <
[email protected]
>
Signed-off-by: Boris Brezillon <
[email protected]
>
Acked-by: Acked-by: Harvey Hunt <
[email protected]
>
drivers/mtd/nand/jz4780_bch.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/jz4780_bch.c
b/drivers/mtd/nand/jz4780_bch.c
index 755499c6650e4e69614b4d342f9299fce9295b39..d74f4ba4a6f49b45859de1b04e0a3654ca5f2d7d 100644
(file)
--- a/
drivers/mtd/nand/jz4780_bch.c
+++ b/
drivers/mtd/nand/jz4780_bch.c
@@
-287,7
+287,6
@@
static struct jz4780_bch *jz4780_bch_get(struct device_node *np)
bch = platform_get_drvdata(pdev);
clk_prepare_enable(bch->clk);
- bch->dev = &pdev->dev;
return bch;
}