From: Jon Smirl Date: Fri, 9 Jan 2009 22:49:06 +0000 (-0700) Subject: drivers/of: Add the of_find_i2c_device_by_node function. X-Git-Tag: v2.6.29-rc2~76^2~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2526c151c31358aec66b63921dd712bbec5ee0cb;p=pandora-kernel.git drivers/of: Add the of_find_i2c_device_by_node function. The of_find_i2c_device_by_node function allows you to follow a reference in the device tree to an i2c device node and then locate the linux device instantiated by the device tree. Example use: an I2S bus driver finding the i2c_device instance for a codec described by a device tree node. This was waiting for Anton's i2c patches that were just added. Signed-off-by: Jon Smirl Signed-off-by: Grant Likely --- Reading git-diff-tree failed