From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joachim Fenkes Subject: Re: [PATCH 4/5] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers Date: Wed, 17 Oct 2007 17:21:07 +0200 Message-ID: <200710171721.08565.fenkes@de.ibm.com> References: <200710162320.00630.fenkes@de.ibm.com> <20071017012706.adbd3188.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: Jeff Garzik , Thomas Q Klein , Jan-Bernd Themann , netdev@vger.kernel.org, Paul Mackerras , LKML , LinuxPPC-Dev , Christoph Raisch , Marcus Eder , Paul Mackerras , Stefan Roscher To: Stephen Rothwell Return-path: Received: from mtagate6.uk.ibm.com ([195.212.29.139]:28999 "EHLO mtagate6.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756677AbXJQPVe (ORCPT ); Wed, 17 Oct 2007 11:21:34 -0400 In-Reply-To: <20071017012706.adbd3188.sfr@canb.auug.org.au> Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tuesday 16 October 2007 17:27, Stephen Rothwell wrote: > One small change - I intend to remove the name and owner fields from > struct of_platform_driver, so you should not bother initialising the name > field and just initialise the name field of the embedded struct > device_driver instead. This, of course, means that you don't need > > drv->driver.name = drv->name; > > in ibmebus_register_driver. I'd prefer to let this line stay in place until you actually make your change, to keep the data structures consistent as long as the name field is present. You could remove it in your patch then. Regards, Joachim