diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-07-18 18:40:38 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 16:32:53 -0700 |
| commit | 89ed0731bcf4be9f4f4bef9d564dc329c5511639 (patch) | |
| tree | 2a58303662b0719ea791e7605c83582afc42230f /tools/perf/scripts/python/netdev-times.py | |
| parent | 69fa3b755eb4ed8754a761a1528504ca9681e4b0 (diff) | |
staging: comedi: amplc_pci224: 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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
