Re: [PATCH 1/2] mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove

From: Wan ZongShun
Date: Thu Jun 02 2011 - 22:26:19 EST


2011/6/3 Axel Lin <axel.lin@xxxxxxxxx>:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Wan ZongShun <mcuos.com@xxxxxxxxx>

Thanks!

> ---
> Âdrivers/mtd/nand/nuc900_nand.c | Â Â1 +
> Â1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c
> index 9c30a0b..fa8faed 100644
> --- a/drivers/mtd/nand/nuc900_nand.c
> +++ b/drivers/mtd/nand/nuc900_nand.c
> @@ -339,6 +339,7 @@ static int __devexit nuc900_nand_remove(struct platform_device *pdev)
> Â Â Â Âstruct nuc900_nand *nuc900_nand = platform_get_drvdata(pdev);
> Â Â Â Âstruct resource *res;
>
> + Â Â Â nand_release(&nuc900_nand->mtd);
> Â Â Â Âiounmap(nuc900_nand->reg);
>
> Â Â Â Âres = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> --
> 1.7.4.1
>
>
>
>



--
Wan ZongShun.
www.mcuos.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/