diff options
| author | Gerd Knorr <kraxel@bytesex.org> | 2003-05-06 03:16:15 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-05-06 03:16:15 -0700 |
| commit | 22f0b1c04d049a47efcbdf387ad706d4786d78d8 (patch) | |
| tree | 33d9e7caf4484718c50fea978ca01918a0dc0d95 /include/linux/node.h | |
| parent | 6230bb0120e2b00b34497683c5c8d88f6ada2546 (diff) | |
[PATCH] i2c #1/3: listify i2c core
This is the first of tree patches for i2c. Trying to get the i2c
cleanups finshed before 2.6.x, so we (hopefully) don't have a
ever-changing i2c subsystem in 2.7.x again (which is very annonying for
driver maintainance).
Changes:
* listify i2c-core, i.e. make it use <linux/list.h> instead of
statically-sized arrays, removed lots of ugly code :)
* added i2c_(get|put)_adapter, changed i2c-dev.c to use these
functions instead maintaining is own adapter list.
* killed the I2C_DF_DUMMY flag which had the strange semantics to
make the i2c subsystem call driver->attach_adapter on detaches.
Added a detach_adapter() callback instead.
* some other minor cleanups along the way ...
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions
