Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968021AbXEHFyt (ORCPT ); Tue, 8 May 2007 01:54:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967971AbXEHFyp (ORCPT ); Tue, 8 May 2007 01:54:45 -0400 Received: from ozlabs.org ([203.10.76.45]:60028 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967930AbXEHFyo (ORCPT ); Tue, 8 May 2007 01:54:44 -0400 Date: Tue, 8 May 2007 15:54:31 +1000 From: David Gibson To: Vitaly Bordug Cc: linux-pcmcia@lists.infradead.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Message-ID: <20070508055431.GA21009@localhost.localdomain> Mail-Followup-To: Vitaly Bordug , linux-pcmcia@lists.infradead.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org References: <20070508053049.18428.50622.stgit@localhost.localdomain> <20070508054855.18428.29080.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070508054855.18428.29080.stgit@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2153 Lines: 57 On Tue, May 08, 2007 at 09:48:56AM +0400, Vitaly Bordug wrote: > > Removed explicit linux,phandle usage. Using references and labels now in > PQ and PQ2 boards currently supported in arch/powerpc. > Signed-off-by: Vitaly Bordug > > --- > > arch/powerpc/boot/dts/mpc8272ads.dts | 42 ++++++++++++---------------------- > arch/powerpc/boot/dts/mpc866ads.dts | 31 +++++++++---------------- > arch/powerpc/boot/dts/mpc885ads.dts | 2 +- > 3 files changed, 27 insertions(+), 48 deletions(-) > > diff --git a/arch/powerpc/boot/dts/mpc8272ads.dts b/arch/powerpc/boot/dts/mpc8272ads.dts > index 423eedc..83461fe 100644 > --- a/arch/powerpc/boot/dts/mpc8272ads.dts > +++ b/arch/powerpc/boot/dts/mpc8272ads.dts > @@ -14,12 +14,10 @@ > compatible = "MPC8260ADS"; > #address-cells = <1>; > #size-cells = <1>; > - linux,phandle = <100>; > > cpus { > #address-cells = <1>; > #size-cells = <0>; > - linux,phandle = <200>; > > PowerPC,8272@0 { > device_type = "cpu"; > @@ -32,12 +30,10 @@ > bus-frequency = <0>; > clock-frequency = <0>; > 32-bit; > - linux,phandle = <201>; > }; > }; > > - interrupt-controller@f8200000 { > - linux,phandle = ; > + pci_pic:interrupt-controller@f8200000 { I'd like to establish a convention of putting a space after the : and using capitals for labels unless there's a strong reason not to in a particular case. It makes them easier to visually distinguish next to the node name. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson - 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/