summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-07-10 17:25:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-15 17:16:29 -0700
commit26550b32e1640020c1aea2e5ccd857b0ddd84b82 (patch)
treeb90ef6327f515beb3dc8298140efb18479c5fdfd /tools/perf/scripts/python/syscall-counts.py
parent7a819d1e5a40189ab94282dc0e42b76c7f52df8d (diff)
staging: comedi: rtd520: cleanup the "find pci device" code
Use for_each_pci_dev() instead of open-coding the for loop. Create local variables for the bus and slot options as well as the thisboard pointer in order to clarify the code. Consolidate the printk's when a supported board is not found into one dev_warn message. 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