[PATCH 1/2] mtd: nand: raw: atmel: Remove duplicate line

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Tue Aug 8 15:48:10 CEST 2023


Hi

On Tue, Aug 8, 2023 at 3:03 PM Alexander Dahl <ada at thorsis.com> wrote:
>
> Signed-off-by: Alexander Dahl <ada at thorsis.com>
> ---
>  drivers/mtd/nand/raw/atmel/nand-controller.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
> index 9873d11254..2b29c8def6 100644
> --- a/drivers/mtd/nand/raw/atmel/nand-controller.c
> +++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
> @@ -1474,7 +1474,6 @@ static void atmel_nand_init(struct atmel_nand_controller *nc,
>
>         mtd->dev->parent = nc->dev;
>         nand->controller = &nc->base;
> -       nand->controller = &nc->base;
>
>         chip->cmd_ctrl = atmel_nand_cmd_ctrl;
>         chip->read_byte = atmel_nand_read_byte;
> --
> 2.30.2
>

Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list