From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 8B00BDDFC0 for ; Fri, 6 Jun 2008 23:10:00 +1000 (EST) Message-ID: <48493713.2070806@freescale.com> Date: Fri, 06 Jun 2008 08:09:39 -0500 From: Timur Tabi MIME-Version: 1.0 To: Timur Tabi , Grant Likely , Scott Wood , linuxppc-dev@ozlabs.org, Stefan Roese Subject: Re: "cell-index" vs. "index" vs. no index in I2C device nodes References: <48480987.1070701@freescale.com> <484810A3.5070301@freescale.com> <20080605112122.0381a338@zod.rchland.ibm.com> <48481373.8010706@freescale.com> <20080605132735.3433f2af@zod.rchland.ibm.com> <20080605135625.562d1dbe@zod.rchland.ibm.com> <48483B99.3010300@freescale.com> <20080605225637.GG30980@yookeroo.seuss> In-Reply-To: <20080605225637.GG30980@yookeroo.seuss> Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Gibson wrote: > Aliases aren't trivially reversible, but it shouldn't be too hard to > write a helper function which will do the scan and parse you describe. How about I submit a patch adding a function called "of_get_aliased_index()"? -- Timur Tabi Linux Kernel Developer @ Freescale