From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RW1XN-0005Ul-5m for linux-mtd@lists.infradead.org; Thu, 01 Dec 2011 07:58:33 +0000 Received: by lagu2 with SMTP id u2so767562lag.36 for ; Wed, 30 Nov 2011 23:58:31 -0800 (PST) Subject: Re: [PATCH 06/11] mtd: Remove redundant spi driver bus initialization From: Artem Bityutskiy To: Lars-Peter Clausen Date: Thu, 01 Dec 2011 09:58:28 +0200 In-Reply-To: <1322148561-25138-6-git-send-email-lars@metafoo.de> References: <1322148561-25138-1-git-send-email-lars@metafoo.de> <1322148561-25138-6-git-send-email-lars@metafoo.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Message-ID: <1322726310.2332.6.camel@koala> Mime-Version: 1.0 Cc: Artem Bityutskiy , David Woodhouse , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2011-11-24 at 16:29 +0100, Lars-Peter Clausen wrote: > In ancient times it was necessary to manually initialize the bus field of an > spi_driver to spi_bus_type. These days this is done in spi_driver_register(), > so we can drop the manual assignment. Pushed to l2-mtd-2.6.git, thanks! Artem.