commit | c71b2e52a0fb895ad709dbe8caec3dfd2a612c04 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Apr 10 11:28:28 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 11 12:54:34 2013 -0700 |
tree | 8663123971751fb14da65dbaa3c81ae795a7fa2b | |
parent | 8b46d7da7f5e869a39b81c3d2193e88b1b52fc99 [diff] |
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>