commit | c7a5f22d1f15a03d0bfed5b1795e3172b6309d86 | [log] [tgz] |
---|---|---|
author | Arjan van de Ven <arjan@infradead.org> | Wed Oct 22 20:21:32 2008 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Wed Oct 22 20:21:32 2008 +0200 |
tree | 474ad173bc08b239623584b1ff9d4846a46e869a | |
parent | 00155a94a691c25d6672c16c8f2cafa7f9a722a3 [diff] |
i2c: Use pci_ioremap_bar() Use the newly introduced pci_ioremap_bar() function in drivers/i2c. pci_ioremap_bar() just takes a pci device and a bar number, with the goal of making it really hard to get wrong, while also having a central place to stick sanity checks. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>