summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-10 17:57:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 15:31:45 -0800
commitf6266a41d820feaa7b7febe122b285e336e40bfd (patch)
tree5c75a83910edfb0121a25b531f5d06e0f01f5032 /tools/perf/scripts/python
parente57bfa673c3056747f8014b956e6fbed02f917d5 (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