commit | fd711905579fccbbd4b020fd054dfcc4021f15b6 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Oct 29 10:01:46 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 30 10:44:37 2012 -0700 |
tree | 247d4057a125bca2ecc7a2041448e8bd58c42b5e | |
parent | 56b468fc709b2b962cd91e6cd9f087c3cd095283 [diff] |
staging: comedi: rtd520: cleanup pci bar ioremap Use the size returned by pci_resource_len() when ioremap'ing the pci bars instead of assuming a size. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>