[PATCH] i2c: make better use of IDR in i2c-core
authorMark M. Hoffman <mhoffman@lightlink.com>
Tue, 28 Jun 2005 04:21:30 +0000 (00:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 11 Jul 2005 21:10:36 +0000 (14:10 -0700)
commita0920e10438e9fe8b22aba607083347c84458ed8
tree8953a2c3c19cab0d4e67fc0e396c23711388403b
parent5da69ba42aa42a479c0f5d8cb8351ebb6b51c12e
[PATCH] i2c: make better use of IDR in i2c-core

This patch uses the already existing IDR mechanism to simplify and
improve the i2c_get_adapter function in i2c-core.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/i2c-core.c