i2c-mv64xxx: Use i2c_add_numbered_adapter
authorDale Farnsworth <dale@farnsworth.org>
Thu, 12 Jul 2007 12:12:29 +0000 (14:12 +0200)
committerJean Delvare <khali@hyperion.delvare>
Thu, 12 Jul 2007 12:12:29 +0000 (14:12 +0200)
commit65b22ad9508b609b0625eccb2680996a1e09ed16
tree821171e9b076953d486464ae9dedf76987bc5dd9
parentc29c22218b99dad95f7cd0281415a854aeee805c
i2c-mv64xxx: Use i2c_add_numbered_adapter

Convert the Marvell mv64xxx I2C driver to use the new i2c infrastructure,
by calling i2c_add_numbered_adapter().  This allows clients to be
registered before the bus is instantiated.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-mv64xxx.c