commit | 0cd96eb0a74791cacb27ace902b991cfd0e72abe | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sun Oct 31 21:06:59 2010 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Sun Oct 31 21:06:59 2010 +0100 |
tree | d804672096c9374f96fc584f4ba72e0bd737bbdf | |
parent | e30d9859cf08920ae711f57ecd9726804451d29f [diff] |
i2c-i801: Handle multiple instances instead of keeping global state 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>