tmp_suning_uos_patched/drivers/i2c
David Brownell b119dc3f99 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>
2007-01-04 13:07:04 +01:00
..
algos i2c: Discard the i2c algo del_bus wrappers 2006-12-10 21:21:33 +01:00
busses i2c-pnx: Fix interrupt handler, get rid of EARLY config option 2007-01-04 13:07:03 +01:00
chips [PATCH] fix more workqueue build breakage (tps65010) 2006-12-13 09:05:46 -08:00
i2c-core.c i2c: Migration aids for i2c_adapter.dev removal 2007-01-04 13:07:04 +01:00
i2c-dev.c i2c: Refactor a kfree in i2c-dev 2006-12-10 21:21:33 +01:00
Kconfig i2c: Fix copy-n-paste in subsystem Kconfig 2006-09-26 15:38:51 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00