commit | 2107347327f7bfd47e6af9fe0510a1750f10f884 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Jun 12 16:07:25 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 17 14:33:39 2013 -0700 |
tree | 0d0813189e80fd30173b1738ea34e501e0a1760f | |
parent | 98a856213efb9fec7a45491170d9b589ce55572d [diff] |
staging: comedi: addi_apci_3xxx: simplify the PCI bar reading The boards supported by this driver all have an ADDIDATA_9054 eeprom. Knowing this we can simplify the code that reads the PCI bars to get the iobase address used by the driver. 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>