commit | 5c63f094a75820b85f7aecf6ee84439d610017c0 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jul 29 17:44:50 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 17:44:54 2013 -0700 |
tree | a506198878fa3fda0aa2bee4a033887bc7ccc564 | |
parent | 3b2dc08b72a80009887a0e0b80d63fdaa1f2a8a9 [diff] |
staging: comedi: usbdux: tidy up usbdux_pwm_write() Remove the sanity check of the private data. This function can only be called if the private data was successfully allocated in the attach. Tidy up the function a bit. 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>