From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from AM1EHSOBE002.bigfish.com (am1ehsobe002.messaging.microsoft.com [213.199.154.205]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 50205B6F69 for ; Fri, 2 Dec 2011 09:10:08 +1100 (EST) Message-ID: <4ED7FB38.1070302@freescale.com> Date: Thu, 1 Dec 2011 16:10:00 -0600 From: Timur Tabi MIME-Version: 1.0 To: Scott Wood Subject: Re: [PATCH] i2c-mpc: use the cell-index property to enumerate the I2C adapters References: <1322760781-31226-1-git-send-email-timur@freescale.com> <4ED7CA64.2080503@freescale.com> <4ED7E975.6090704@freescale.com> <4ED7F1AE.70806@freescale.com> <4ED7F5AA.2040909@freescale.com> <4ED7F72F.7050405@freescale.com> <4ED7F8CE.10801@freescale.com> <4ED7FA38.6030606@freescale.com> In-Reply-To: <4ED7FA38.6030606@freescale.com> Content-Type: text/plain; charset="ISO-8859-1" Cc: linuxppc-dev@ozlabs.org, kumar.gala@freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Scott Wood wrote: > > Does of_find_i2c_device_by_node() do what you want? Yeah, that'll work. I wasn't thinking about looking for an i2c device. Thanks. -- Timur Tabi Linux kernel developer at Freescale