From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by ozlabs.org (Postfix) with ESMTP id CE652DDF33 for ; Thu, 8 Jan 2009 09:36:16 +1100 (EST) Received: by yw-out-2324.google.com with SMTP id 5so2667661ywh.39 for ; Wed, 07 Jan 2009 14:36:15 -0800 (PST) Message-ID: Date: Wed, 7 Jan 2009 15:36:14 -0700 From: "Grant Likely" To: "Scott Wood" Subject: Re: [PATCH 2/5] powerpc: Generic device tree for all AmigaOne boards In-Reply-To: <49652B79.5010502@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20090107135457.234150@gmx.net> <20090107140132.140980@gmx.net> <20090107221028.GA18669@ld0162-tx32.am.freescale.net> <49652B79.5010502@freescale.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 7, 2009 at 3:23 PM, Scott Wood wrote: > Grant Likely wrote: >> >> On Wed, Jan 7, 2009 at 3:10 PM, Scott Wood >> wrote: >>> >>> Why? >> >> Defensive programming. To not rely on implicit relationships > > It doesn't seem any more likely to introduce a fault by specifying the > interrupt controller in one place than in many places. We do the same thing with #address-cells and #size-cells for the same reason. You can get away with leaving them out; but being explicit is more clear. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.