[i2c] [patch/rfc 2.6.21-rc3-git +i2c 0/4] remove some driver-model/i2c-core duplication

David Brownell david-b at pacbell.net
Mon Mar 12 19:36:34 CET 2007


As previously noted, i2c-core duplicates lots of driver model functionality
for various reasons of history.

Following this are four patches that get rid of much of that duplication.
They've had only limited testing, and I won't have time to do more work
on this, but anyway here are four patches that remove duplication:

 - i2c_client.driver vanishes ... i2c_client.dev.driver suffices
 - i2c_client.adapter vanishes ... i2c_client.dev.parent suffices
 - i2c_adapter.list vanishes ... i2c_adapter_class.devices suffices
 - i2c_client.list vanishes ... i2c_adapter.dev.klist_children suffices

These go on top of the previous i2c cleanup and driver model patches
I've sent.  I think the first two are closest to being "done", other
than their excessive size.  The last two don't feel cooked yet

- Dave




More information about the i2c mailing list