[POWERPC] fsl: Add warning for unrecognized I2C nodes in the device tree
commit22fb7d9be593181e2f779cf7a8421703a6be713b
authorTimur Tabi <timur@freescale.com>
Thu, 15 May 2008 22:04:57 +0000 (15 17:04 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 2 Jun 2008 19:44:25 +0000 (2 14:44 -0500)
treecc7cfdbb0e8140f55f146e97eae623a687804454
parent692d1037e6914a8a32a7a9fba416684c75c7efca
[POWERPC] fsl: Add warning for unrecognized I2C nodes in the device tree

Update of_find_i2c_driver in fsl_soc.c to display a warning message if an
I2C node in the device tree isn't found in the i2c_devices[] array.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_soc.c