diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-25 15:06:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-26 09:20:00 -0700 |
| commit | 52c4cbe94c3ce0a643ad57f68cafae88249c03a1 (patch) | |
| tree | 422638f0dfe94ba6aa685c1d35abbf5d68551dee /scripts/kernel-doc | |
| parent | 736b605c897204b8c05f15160f12e70c61b2e6e6 (diff) | |
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 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
