i2c: Share the I2C device presence detection code
authorJean Delvare <khali@linux-fr.org>
Thu, 3 Jun 2010 09:33:51 +0000 (11:33 +0200)
committerJean Delvare <khali@linux-fr.org>
Thu, 3 Jun 2010 09:33:51 +0000 (11:33 +0200)
commit63e4e80218803ff506b3ea4f2349b17916a35730
tree99d99ddf70589b0e405153281db27d6fb74163bf
parent89140f41575ae2a7a5c24e856880594ccbdfcaff
i2c: Share the I2C device presence detection code

Use the same I2C device presence detection code for legacy and new
device detection functions. This is more consistent and makes the code
smaller.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Matthieu Castet <castet.matthieu@free.fr>
drivers/i2c/i2c-core.c