commit | 9ea3e941d161f41f920462c50e9b651cc00eccc7 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Mar 20 14:50:52 2011 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Sun Mar 20 14:50:52 2011 +0100 |
tree | 47a82a66081fa5377e3a5ec5e91bceb431290ddf | |
parent | 7ae31482a8376fb0df3a0c5ff0677a92820c06b7 [diff] |
i2c-dev: Use standard bus notification mechanism Use the standard driver core mechanism to keep track of i2c adapters present on the system: i2c_for_each_dev and a notifier. This will let us deprecate and ultimately remove the legacy attach_adapter and detach_adapter callbacks in i2c_driver. Signed-off-by: Jean Delvare <khali@linux-fr.org>