[i2c] [PATCH] i2c-gpio: Add support for new-style clients

Haavard Skinnemoen hskinnemoen at atmel.com
Wed Jun 13 13:15:02 CEST 2007


On Wed, 13 Jun 2007 00:43:16 +0900 (JST)
Atsushi Nemoto <anemo at mba.ocn.ne.jp> wrote:

> Use i2c_bit_add_numbered_bus() if device id specified, so that the
> i2c-gpio adapter works well with new-style pre-declared devices.
> 
> Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>

Makes sense to me. I haven't got any test setup with multiple i2c
busses, but using the platform_device id seems like the obvious way to
number the busses from a board developer's point of view.

Acked-by: Haavard Skinnemoen <hskinnemoen at atmel.com>



More information about the i2c mailing list