commit | b8acd7750a2366216d9ec81f96b0594f6bb86707 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jul 18 18:50:16 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 19 16:32:56 2012 -0700 |
tree | ef9fd96546b09c0fce37987732bdfc364985c2b3 | |
parent | f0bd6d357527ed40c84e75f1f3137ea944f179db [diff] |
staging: comedi: contec_pci_dio: cleanup "find pci device" code Add a couple local variables and reorder the tests to make to make the more concise. Change the printk to a dev_err when no match is found and reword the 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>