diff options
| author | H Hartley Sweeten <[email protected]> | 2012-07-18 18:36:30 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-07-19 16:32:52 -0700 |
| commit | 2329a10c3f985cbe7bba6ff3a053837f71a1ea40 (patch) | |
| tree | 21c394694115dfafe35200f0e01aa08945169b4a /tools/perf/scripts/python | |
| parent | 41f7ea34f53ea432f77129b81db6d880d4cfa648 (diff) | |
staging: comedi: cb_pcidio: cleanup "find pci device" code
Add a couple local variables to make the tests more concise.
Reorder the tests to make the for() loop checking for a
matching boardtype quicker.
Drop the dev_dbg for a match. It's just add noise.
Reword the dev_err when no match is found.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions