i2c-gpio: Add support for new-style clients
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 12 Jul 2007 12:12:30 +0000 (14:12 +0200)
committerJean Delvare <khali@hyperion.delvare>
Thu, 12 Jul 2007 12:12:30 +0000 (14:12 +0200)
commit7e69c3ac93a9a7aa29dab7179f86da67db7b0ca3
tree6c8fdbc48ed4a0a3ee30278e0557562b7b1c8fea
parent757ba4c697244da878b65585d8cb671da1cb9eaf
i2c-gpio: Add support for new-style clients

Use i2c_bit_add_numbered_bus() so that the i2c-gpio adapter works well
with new-style pre-declared devices.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-gpio.c