[i2c] [PATCH 0/6] Reworked i2c-core cleanups

Jean Delvare khali at linux-fr.org
Sat Feb 10 16:51:40 CET 2007


Hi all,

As Greg let me know that there are driver core changes in progress to
get rid of struct class_dev, we have to change our i2c-core cleanups
plans. Originally we wanted to get rid of i2c_adapter.dev in favor of
i2c_adapter.class_dev, now it seems that we want to do it the other way
around. Here comes a 6-patch cleanup proposal. Some of the patches are
heavily inspired from David Brownell's work at the end of year 2006.

The patches are:
* i2c-01-add-missing-i2c_adapter-parent-devices.patch
* i2c-02-remove-warning-on-missing-adapter-device.patch
* i2c-03-stop-using-i2c_adapter.class_dev.patch
* i2c-04-kill-i2c_adapter.class_dev.patch
* i2c-05-i2c_adapter-devices-have-no-driver.patch
* i2c-06-remove-duplicate-i2c-drivers-list.patch

The first three patches should IMHO go into 2.6.21. For the last three,
they'll have to stage in -mm for some time, as we will need to update
libsensors once again to take the sysfs change caused by patch 04 into
account. Maybe we can release lm_sensors 2.10.3 by the end of March,
and have the core change merged in kernel 2.6.22.

All 6 patches will be posted as replies to this summary post, with
explanations in the headers. Reviews and comments are welcome.

Thanks,
-- 
Jean Delvare



More information about the i2c mailing list