From: Arjan van de Ven Date: Wed, 22 Oct 2008 18:21:32 +0000 (+0200) Subject: i2c: Use pci_ioremap_bar() X-Git-Tag: v2.6.28-rc1~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a5f22d1f15a03d0bfed5b1795e3172b6309d86;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed