Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969890AbXEHXcP (ORCPT ); Tue, 8 May 2007 19:32:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S969754AbXEHXbo (ORCPT ); Tue, 8 May 2007 19:31:44 -0400 Received: from ozlabs.org ([203.10.76.45]:48792 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969749AbXEHXbo (ORCPT ); Tue, 8 May 2007 19:31:44 -0400 Date: Wed, 9 May 2007 09:31:37 +1000 From: David Gibson To: Vitaly Bordug Cc: Loeliger Jon-LOELIGER , linuxppc-dev@ozlabs.org, linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Message-ID: <20070508233137.GB2112@localhost.localdomain> Mail-Followup-To: Vitaly Bordug , Loeliger Jon-LOELIGER , linuxppc-dev@ozlabs.org, linux-pcmcia@lists.infradead.org, linux-kernel@vger.kernel.org References: <20070508053049.18428.50622.stgit@localhost.localdomain> <20070508054855.18428.29080.stgit@localhost.localdomain> <20070508055431.GA21009@localhost.localdomain> <20070508202608.16c128a0@vitb.ru.mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070508202608.16c128a0@vitb.ru.mvista.com> 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: 1639 Lines: 47 On Tue, May 08, 2007 at 08:26:08PM +0400, Vitaly Bordug wrote: > 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. Ick, I preferred the original lowercase. > It makes them easily distinguishable and at the same time, not > "shouting" manner. I don't think it really does make them distinguishable (I'm talking about seeing them when glancing over a screenful of dts, not just up close). -- 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/