From: H Hartley Sweeten Date: Wed, 10 Apr 2013 18:27:13 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: use pci_ioremap_bar() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=925fe5a6dca3e6a98c74e543cfb072ec63d58b73;p=pandora-kernel.git staging: comedi: gsc_hpdi: use pci_ioremap_bar() Use pci_ioremap_bar() to ioremap the PCI resources. That function just takes the pci device and a bar number. It also has some additional sanity checks to make sure the bar is actually a memory resource. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed