diff options
author | David Brownell <david-b@pacbell.net> | 2007-01-04 13:07:04 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-01-04 13:07:04 +0100 |
commit | b119dc3f992183a04e508fc0a09f550eb19bf30e (patch) | |
tree | 554c4ff65d6585448ae207da06e127bbc15b2ad7 /drivers/sn | |
parent | 999445d4372812f361807b76411c158099e8e93e (diff) |
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 <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions