]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] I2C: Kill i2c_algorithm.id (2/7)
authorJean Delvare <khali@linux-fr.org>
Thu, 11 Aug 2005 21:36:49 +0000 (23:36 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:14:28 +0000 (09:14 -0700)
commite51cc6b3a365e170d3ebe51c2308fdd42e027a46
treefb09b8c3b44047771a395c5430bdba1e42f4ac17
parent975185880d55676b1352047e82a0cb84173c6c28
[PATCH] I2C: Kill i2c_algorithm.id (2/7)

Use the adapter id rather than the algorithm id to detect the i2c-isa
pseudo-adapter. This saves one level of dereferencing, and the
algorithm ids will soon be gone anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-isa.c
include/linux/i2c-isa.h