From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id B3B1FDDF13 for ; Wed, 5 Dec 2007 07:36:57 +1100 (EST) Date: Tue, 4 Dec 2007 14:40:59 -0600 From: Olof Johansson To: Anton Vorontsov Subject: Re: [PATCH v2 1/4] [libata] pata_platform: make probe and remove functions device type neutral Message-ID: <20071204204059.GC8099@lixom.net> References: <20071204170442.GA10460@localhost.localdomain> <20071204170625.GA15599@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20071204170625.GA15599@localhost.localdomain> Cc: Jeff Garzik , Arnd Bergmann , linux-ide@vger.kernel.org, linuxppc-dev@ozlabs.org, Paul Mundt List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Dec 04, 2007 at 08:06:25PM +0300, Anton Vorontsov wrote: > Split pata_platform_{probe,remove} into two pieces: > 1. pata_platform_{probe,remove} -- platform_device-dependant bits; > 2. __ptata_platform_{probe,remove} -- device type neutral bits. > > This is done to not duplicate code for the OF-platform driver. > > Signed-off-by: Anton Vorontsov Acked-by: Olof Johansson Tested with both the old pata_platform and new pata_of_platform drivers on PA Semi Electra (see separate post with pata_of_platform cutover patch). -Olof