mtd: nand: jz4780: fixup, device structure assigned at probe
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Thu, 24 Mar 2016 01:53:27 +0000 (21:53 -0400)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:50 +0000 (22:04 +0200)
commitce8716e97149d15379603890c4c7a2acfcf4a7ee
tree3f72a3a3ecc9de7ab1f0d62bb8add15ff4cbc9be
parentff6ee101584c17c4f30ca48d75e2910c49d0b0ff
mtd: nand: jz4780: fixup, device structure assigned at probe

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 <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Acked-by: Harvey Hunt <harvey.hunt@imgtec.com>
drivers/mtd/nand/jz4780_bch.c