summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-04-10 22:28:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-11 23:54:34 +0400
commitc71b2e52a0fb895ad709dbe8caec3dfd2a612c04 (patch)
tree8663123971751fb14da65dbaa3c81ae795a7fa2b /scripts/cleanpatch
parent8b46d7da7f5e869a39b81c3d2193e88b1b52fc99 (diff)
downloadlinux-c71b2e52a0fb895ad709dbe8caec3dfd2a612c04.tar.xz
staging: comedi: cb_pcidas64: 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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions