[PATCH 23/90] staging: comedi: adv_pci_dio: cleanup "find pci device" code

2012-07-18 Thread H Hartley Sweeten
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 message for a match. It's just add noise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman ---

[PATCH 23/90] staging: comedi: adv_pci_dio: cleanup find pci device code

2012-07-18 Thread H Hartley Sweeten
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 message for a match. It's just add noise. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott