From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vitb.dev.rtsoft.ru (unknown [85.21.88.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 711CFDDEEB for ; Wed, 9 May 2007 02:26:57 +1000 (EST) Date: Tue, 8 May 2007 20:26:08 +0400 From: Vitaly Bordug To: "Loeliger Jon-LOELIGER" Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Message-ID: <20070508202608.16c128a0@vitb.ru.mvista.com> In-Reply-To: References: <20070508053049.18428.50622.stgit@localhost.localdomain> <20070508054855.18428.29080.stgit@localhost.localdomain> <20070508055431.GA21009@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 8 May 2007 07:29:20 -0700 "Loeliger Jon-LOELIGER" wrote: > > > > - 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. > > Colon-space is easy and I'll buy it. > I'm not big on uppercase shouting, though. > > Perhaps something more like case or goto labels:? > > pci_pic: > interrupt-contoller@f8200000 { > > if needed? > I used middle solution Pci_pic: interrupt-contoller@f8200000 { so first letter of the label should be uppercase. It makes them easily distinguishable and at the same time, not "shouting" manner. -- Sincerely, Vitaly