diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-07-18 18:31:43 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 16:19:42 -0700 |
| commit | 5aa53d5f2e9cf38112b8087ead926fcaacaa5abe (patch) | |
| tree | 346a979e7851f35ffb83a54ca51e5c68e62b1a05 /tools/perf/scripts/python/sctop.py | |
| parent | 96554c81d512d171b2e3b9dd3769bed8280ded2f (diff) | |
staging: comedi: adv_pci1710: cleanup "find pci device" code
Use for_each_pci_dev() instead of open-coding the loop using
pci_get_device().
Drop the printk error messages. They just add noise.
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/sctop.py')
0 files changed, 0 insertions, 0 deletions
