Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754523Ab1FFKYa (ORCPT ); Mon, 6 Jun 2011 06:24:30 -0400 Received: from smtp.nokia.com ([147.243.1.47]:58297 "EHLO mgw-sa01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754209Ab1FFKY1 (ORCPT ); Mon, 6 Jun 2011 06:24:27 -0400 Subject: Re: [PATCH] mtd: mtdblock: Use DEFINE_MUTEX() for mtdblks_lock From: Artem Bityutskiy Reply-To: Artem.Bityutskiy@nokia.com To: Axel Lin Cc: linux-kernel@vger.kernel.org, David Woodhouse , linux-mtd@lists.infradead.org, Matthias Kaehlcke In-Reply-To: <1307081422.6450.2.camel@phoenix> References: <1307081422.6450.2.camel@phoenix> Content-Type: text/plain; charset="UTF-8" Organization: Nokia Date: Mon, 06 Jun 2011 13:20:01 +0300 Message-ID: <1307355601.3112.29.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 8bit X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 563 Lines: 17 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 (Артём Битюцкий) -- 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/