diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-25 22:06:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 16:20:00 (GMT) |
commit | 52c4cbe94c3ce0a643ad57f68cafae88249c03a1 (patch) | |
tree | 422638f0dfe94ba6aa685c1d35abbf5d68551dee /drivers/acpi/pci_slot.c | |
parent | 736b605c897204b8c05f15160f12e70c61b2e6e6 (diff) | |
download | linux-fsl-qoriq-52c4cbe94c3ce0a643ad57f68cafae88249c03a1.tar.xz |
staging: comedi: me_daq: cleanup ioremap of PCI bar 2
PCI bar 2 is the main i/o address for this driver. Currently the
pci_resource_len of the bar is stored in the private data but
it is never used.
Remove 'me_regbase_size' from the private data. Also, remove the
local variables used for the pci_resource_start and _len. Just
pass the values directly to the ioremap().
Remove the kernel noise when the ioremap fails.
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>
Diffstat (limited to 'drivers/acpi/pci_slot.c')
0 files changed, 0 insertions, 0 deletions