Skip to content
Commit fccb56e4 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
parent dc87c398
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment