]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ab5407e1c53c01c10b00680a32fa85df582a4c4
tree99d99ddf70589b0e405153281db27d6fb74163bf
parentb646ff299497dab18eaffe14499f729de78e7384
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