Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752439Ab1FCC0P (ORCPT ); Thu, 2 Jun 2011 22:26:15 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:62841 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751493Ab1FCC0O convert rfc822-to-8bit (ORCPT ); Thu, 2 Jun 2011 22:26:14 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NrlIIcFv4HIwN0v/6rP3Dt97FVfIKjV2BRAhUeBqT7mATFslGjvoafGqHm9KACXAqg vzlIErj58SbQHvBSNaUmFTlwc3nsJg3whzC2myu2GWMPgjvbe8iV9/nBRmqxlRvXpCsv XDe1EG9w100KojXGYaBhvJtAfJREYsyAxtZ+Y= MIME-Version: 1.0 In-Reply-To: <1307065913.10001.2.camel@phoenix> References: <1307065913.10001.2.camel@phoenix> From: Wan ZongShun Date: Fri, 3 Jun 2011 10:25:52 +0800 Message-ID: Subject: Re: [PATCH 1/2] mtd: nuc900_nand: add missing nand_release in nuc900_nand_remove To: Axel Lin Cc: linux-kernel@vger.kernel.org, David Woodhouse , Artem Bityutskiy , linux-mtd@lists.infradead.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1101 Lines: 40 2011/6/3 Axel Lin : > Signed-off-by: Axel Lin Acked-by: Wan ZongShun 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/