i2c-algo-bit: Add i2c_bit_add_numbered_bus
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:31 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:31 +0000 (23:26 +0200)
commit0f3b48385213355a2d4408bec1b481ffcf0e8638
tree7684461552fd477e94cb36d90983e7cc0c35356f
parentc05646069ccf8e94031ca9c8ab18fff35ba4405e
i2c-algo-bit: Add i2c_bit_add_numbered_bus

Add i2c_bit_add_numbered_bus(), which is equivalent to i2c_bit_add_bus
except that it calls i2c_add_numbered_adapter() at the end instead of
i2c_add_adapter().

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/algos/i2c-algo-bit.c
include/linux/i2c-algo-bit.h