commit | e0bc079c669a9b6f438f8801da5fc04947323b45 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jul 29 17:43:36 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 17:44:52 2013 -0700 |
tree | f5efdc6678908345488807082eaebcbeed4daa2f | |
parent | d0b31b8b92fc246bdd2b85bba38a28a8343f4909 [diff] |
staging: comedi: usbduxsigma: generalize the ai/ao usb_kill_urb() Generalize a helper function to replace for() loops in usbduxsigma_{ai,ao}_stop() that call usb_kill_urb() to unlink all the urbs. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>