From: David Brownell Date: Thu, 4 Jan 2007 12:07:04 +0000 (+0100) Subject: i2c: Migration aids for i2c_adapter.dev removal X-Git-Tag: v2.6.20-rc4~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b119dc3f992183a04e508fc0a09f550eb19bf30e;p=pandora-kernel.git i2c: Migration aids for i2c_adapter.dev removal Flag i2c_adapter.dev for removal after userspace tools get upgraded, and include a near-term code migration aid to facilitate this: - The class device gets the name attribute it should have had. This was previously (wrongly) associated with the i2c_adapter.dev node. Sysfs based tools and libraries can start converting right away. - Issue a warning for legacy adapter drivers that don't provide any physical device node; so systems with those drivers will know to fix this problem earlier. This is one of a series of patches to help the I2C stack become a better citizen of the Linux Driver Model world. Signed-off-by: David Brownell Signed-off-by: Jean Delvare --- Reading git-diff-tree failed