pci: use pci_ioremap_bar() in drivers/edac
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 6 Jan 2009 22:42:56 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:30 +0000 (15:59 -0800)
commit1dca00bd028e96d39992f501e9251e0cda499562
tree2c13f0bb2747f4258c424601ef4a4f65feed3eed
parentcda796a3d572059d64f5429dfc1d00ca6fcbaf8d
pci: use pci_ioremap_bar() in drivers/edac

Use the newly introduced pci_ioremap_bar() function in drivers/edac.
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>
Acked-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/i82875p_edac.c