[RFC v2 3/5] i2c: Add of_i2c_get_adapter() function

Stephen Warren swarren at wwwdotorg.org
Thu Apr 26 01:36:41 EST 2012


On 04/25/2012 03:45 AM, Thierry Reding wrote:
> This function resolves an OF device node to an I2C adapter registered
> with the I2C core.

I think this is doing the same thing as a patch I posted recently:
http://www.spinics.net/lists/linux-i2c/msg07808.html

What's the advantage of one way over the other?


More information about the devicetree-discuss mailing list