diff options
| author | 2012-07-18 18:37:31 -0700 | |
|---|---|---|
| committer | 2012-07-19 16:32:52 -0700 | |
| commit | dd90576838a6f9eb51ffe11796073bdd733847df (patch) | |
| tree | e4a8af13c718212a4e99c5e15cbac6cddf6566ce /scripts/Makefile.thinlto | |
| parent | staging: comedi: cb_pcidio: store the pci_dev in the comedi_device (diff) | |
staging: comedi: amplc_dio200: 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.
Use for_each_pci_dev() instead of open-coding the loop using
pci_get_device().
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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
