]> err.no Git - linux-2.6/commit
i2c: Kill i2c_adapter.class_dev
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:27 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:27 +0000 (23:26 +0200)
commitfccb56e4d82132ac15359efc9e419371e4533437
tree15bca8fcf2d5b521f9b18979dc1e98e93f29442a
parentdc87c3985e9b442c60994308a96f887579addc39
i2c: Kill i2c_adapter.class_dev

Kill i2c_adapter.class_dev. Instead, set the class of i2c_adapter.dev
to i2c_adapter_class, so that a symlink will be created for every
i2c_adapter in /sys/class/i2c-adapter.

The same change must be mirrored to i2c-isa as it duplicates some
of the i2c-core functionalities.

User-space tools and libraries might need some adjustments. In
particular, libsensors from lm_sensors 2.10.3 or later is required for
proper discovery of i2c adapter names after this change.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/feature-removal-schedule.txt
drivers/i2c/busses/i2c-isa.c
drivers/i2c/i2c-core.c
include/linux/i2c.h