Message ID | 1458784407-12908-1-git-send-email-jorge.ramirez-ortiz@linaro.org |
---|---|
State | Accepted |
Commit | ce8716e97149d15379603890c4c7a2acfcf4a7ee |
Headers | show |
On 03/30/2016 10:34 AM, Boris Brezillon wrote: > On Wed, 23 Mar 2016 21:53:27 -0400 > Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote: > > How about adding the following message: > > " > bch->dev is already assigned to &pdev->dev in the probe function. > Remove the duplicate assignment done in jz4780_bch_get(). > " > > If you agree I'll add this commit message while applying (no need to > resend). I am so sorry - got side tracked I should have followed up. yes that is what I tried (seems like I failed miserably) to indicated in the commit title. > > Harvey, can I have your ack on this patch? > > Thanks, > > Boris ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
diff --git a/drivers/mtd/nand/jz4780_bch.c b/drivers/mtd/nand/jz4780_bch.c index 755499c..d74f4ba 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; }
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> --- drivers/mtd/nand/jz4780_bch.c | 1 - 1 file changed, 1 deletion(-) -- 2.5.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/