From: H Hartley Sweeten Date: Wed, 10 Apr 2013 18:26:34 +0000 (-0700) Subject: staging: comedi: daqboard2000: use pci_ioremap_bar() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e6b5554ac9cc0f3b3951b2aec45451e465f8c3;p=pandora-kernel.git staging: comedi: daqboard2000: 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