From: Timur Tabi Date: Mon, 2 Jun 2008 20:09:35 +0000 (-0500) Subject: [POWERPC] fsl: Update fsl_soc to use cell-index property of I2C nodes X-Git-Tag: v2.6.27-rc1~1058^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e026892c85571e12f11abffde5a90bcc704d663e;p=pandora-kernel.git [POWERPC] fsl: Update fsl_soc to use cell-index property of I2C nodes Currently, fsl_i2c_of_init() uses the order of the I2C adapter nodes in the device tree to enumerate the I2C adapters. Instead, let's check for the cell-index property and use it if it exists. This is handy for device drivers that need to identify the I2C adapters by specific numbers. The Freescale MPC8610 ASoC V2 sound drivers are an example. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala --- Reading git-diff-tree failed