From: Jean Delvare Date: Sun, 20 Mar 2011 13:50:52 +0000 (+0100) Subject: i2c: Export i2c_for_each_dev X-Git-Tag: v2.6.39-rc1~407^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ae31482a8376fb0df3a0c5ff0677a92820c06b7;p=pandora-kernel.git i2c: Export i2c_for_each_dev Introduce i2c_for_each_dev(), an i2c device iterator with proper locking for use by i2c-dev. This is needed so that we can get rid of the attach_adapter and detach_adapter legacy callback functions. Signed-off-by: Jean Delvare --- Reading git-diff-tree failed