summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-07-18 18:39:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-19 16:32:53 -0700
commit1c16519fc2d63d0f58a7c54a47404e3de2c20396 (patch)
treeabf02e92ec69340538e07a0d0c37007d0b569901 /tools/perf/scripts/python/sctop.py
parentb6d446b5de6139d2a5764c7568012ffa14e2aa6e (diff)
staging: comedi: amplc_pc263: 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/sctop.py')
0 files changed, 0 insertions, 0 deletions