commit | f6266a41d820feaa7b7febe122b285e336e40bfd | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Nov 10 17:57:56 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:31:45 2014 -0800 |
tree | 5c75a83910edfb0121a25b531f5d06e0f01f5032 | |
parent | e57bfa673c3056747f8014b956e6fbed02f917d5 [diff] |
staging: comedi: adl_pci9118: use comedi_bytes_to_samples() Remove the assumption of the sample size by using the comedi_bytes_to_samples() helper function to convert the number of bytes to the number of samples. 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>