summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/jz4780_bch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/jz4780_bch.c')
-rw-r--r--drivers/mtd/nand/jz4780_bch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c
index 755499c6650e..d74f4ba4a6f4 100644
--- 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;
}