diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-11-10 17:57:56 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 15:31:45 -0800 |
| commit | f6266a41d820feaa7b7febe122b285e336e40bfd (patch) | |
| tree | 5c75a83910edfb0121a25b531f5d06e0f01f5032 /tools/perf/scripts/python | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
