i2c-i801: Handle multiple instances instead of keeping global state
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 31 Oct 2010 20:06:59 +0000 (21:06 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 31 Oct 2010 20:06:59 +0000 (21:06 +0100)
It's poor form to keep driver state in global variables rather than
per-instance. It never really mattered in practice when there was only
one controller on the chipset, but the latest chipsets do have more
than one controller, so now we care.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

No differences found