diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-07-18 18:39:03 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 16:32:52 -0700 |
| commit | ed7fd225efef11fb8c85ec650288702af69bbe83 (patch) | |
| tree | f5388de895020e451ba39d36a68a7074aba47bf4 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b5e6df11f4820179573637e05c132b4561da92ce (diff) | |
staging: comedi: amplc_pc236: 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
