[PATCH] mtd: nand: jz4780: fixup, device structure assigned at probe
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Thu Mar 24 07:54:14 PDT 2016
Hi Jorge,
On 23 March 2016 at 22:53, Jorge Ramirez-Ortiz
<jorge.ramirez-ortiz at linaro.org> wrote:
Can you re-submit, with some proper commit log explaining the patch?
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz at linaro.org>
> ---
> drivers/mtd/nand/jz4780_bch.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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;
> }
>
> --
> 2.5.0
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
Thanks,
--
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar
More information about the linux-mtd
mailing list