From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSQZ5-0001VZ-86 for linux-mtd@lists.infradead.org; Fri, 03 Jun 2011 09:21:12 +0000 Received: by wwb39 with SMTP id 39so1118467wwb.18 for ; Fri, 03 Jun 2011 02:21:06 -0700 (PDT) Date: Fri, 3 Jun 2011 10:20:57 +0100 From: Jamie Iles To: Axel Lin Subject: Re: [PATCH] mtd: denali: remove calling mtd_device_unregister() after nand_release() Message-ID: <20110603092057.GC2637@pulham.picochip.com> References: <1307063535.10001.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307063535.10001.1.camel@phoenix> Cc: Artem Bityutskiy , Sudhakar Rajashekhara , David Woodhouse , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Jamie Iles List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jun 03, 2011 at 09:12:15AM +0800, Axel Lin wrote: > The implementation of nand_release() already call mtd_device_unregister(), > no need to call it again. Good catch! > Signed-off-by: Axel Lin Acked-by: Jamie Iles From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753532Ab1FCJVJ (ORCPT ); Fri, 3 Jun 2011 05:21:09 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:37665 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652Ab1FCJVH (ORCPT ); Fri, 3 Jun 2011 05:21:07 -0400 Date: Fri, 3 Jun 2011 10:20:57 +0100 From: Jamie Iles To: Axel Lin Cc: linux-kernel@vger.kernel.org, Sudhakar Rajashekhara , Jamie Iles , David Woodhouse , Artem Bityutskiy , linux-mtd@lists.infradead.org Subject: Re: [PATCH] mtd: denali: remove calling mtd_device_unregister() after nand_release() Message-ID: <20110603092057.GC2637@pulham.picochip.com> References: <1307063535.10001.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307063535.10001.1.camel@phoenix> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 03, 2011 at 09:12:15AM +0800, Axel Lin wrote: > The implementation of nand_release() already call mtd_device_unregister(), > no need to call it again. Good catch! > Signed-off-by: Axel Lin Acked-by: Jamie Iles