pci: use pci_ioremap_bar() in drivers/misc
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 6 Jan 2009 22:40:39 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:10 +0000 (15:59 -0800)
commitbdbeed75b288443ea14208eafaac3941f385f2ae
tree0be768ee4d1b064af120655109da93e4095f6774
parentea435467500612636f8f4fb639ff6e76b2496e4b
pci: use pci_ioremap_bar() in drivers/misc

Use the newly introduced pci_ioremap_bar() function in drivers/misc.
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/ibmasm/module.c
drivers/misc/tifm_7xx1.c