]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] I2C: Kill i2c_algorithm.id (3/7)
authorJean Delvare <khali@linux-fr.org>
Thu, 11 Aug 2005 21:38:52 +0000 (23:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:29 +0000 (09:14 -0700)
commit87c3d7a8bc0ff5c8d4481e509b407b6be1859925
tree73fadb7bdd87a054cf3131b541af4216ba545755
parente51cc6b3a365e170d3ebe51c2308fdd42e027a46
[PATCH] I2C: Kill i2c_algorithm.id (3/7)

Don't rely on i2c_algorithm.id to alter the i2c adapter's id, use the
I2C_ALGO_* value directly instead, because i2c_algorithm will soon
have no id member no more.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/algos/i2c-algo-bit.c
drivers/i2c/algos/i2c-algo-ite.c
drivers/i2c/algos/i2c-algo-pca.c
drivers/i2c/algos/i2c-algo-pcf.c
drivers/i2c/algos/i2c-algo-sgi.c
drivers/i2c/algos/i2c-algo-sibyte.c
drivers/i2c/busses/i2c-ibm_iic.c