From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([147.243.1.47] helo=mgw-sa01.nokia.com) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QTWys-0001L2-Hp for linux-mtd@lists.infradead.org; Mon, 06 Jun 2011 10:24:23 +0000 Subject: Re: [PATCH] mtd: mtdblock: Use DEFINE_MUTEX() for mtdblks_lock From: Artem Bityutskiy To: Axel Lin In-Reply-To: <1307081422.6450.2.camel@phoenix> References: <1307081422.6450.2.camel@phoenix> Content-Type: text/plain; charset="UTF-8" Date: Mon, 06 Jun 2011 13:20:01 +0300 Message-ID: <1307355601.3112.29.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org, David Woodhouse , linux-kernel@vger.kernel.org, Matthias Kaehlcke Reply-To: Artem.Bityutskiy@nokia.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2011-06-03 at 14:10 +0800, Axel Lin wrote: > mtdblks_lock can be initialized automatically with > DEFINE_MUTEX() rather than explicitly calling mutex_init(). > > Signed-off-by: Axel Lin Pushed to l2-mtd-2.6.git, thanks! -- Best Regards, Artem Bityutskiy (Артём Битюцкий)