commit | 2605d35b439da85634db975d98bc7be76f9d563a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jul 18 18:41:47 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 19 16:32:53 2012 -0700 |
tree | a5bada9e52bdbc26698f046463318d7101c66a20 | |
parent | 415417040fbe26160c381b7e147408aacc814a96 [diff] |
staging: comedi: amplc_pci230: cleanup "find pci device" code For aesthetic reasons, rename the function and pass the comedi_devconfig struct instead of pre-parsing out the bus/slot information. Consolidate the dev_err messages when a pci device is not found. 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>