summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-01-13 10:16:43 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-17 14:31:31 -0800
commit620ec185a208f5bf54af46912ae75a330697bd3f (patch)
treef07f8d4728b8798da378932e3b12e6e43055a1d3 /tools/perf/scripts/python
parent0afa6153fb6fd2b1865248d96058b26ae2f1bcf5 (diff)
staging: comedi: das1800: remove hard coded 'sample_size'
Use the comedi_bytes_per_sample() helper to remove the hard coded sample_size in suggest_transfer_size(). The helper function needs to comedi_subdevice pointer. Change the parameters passed to suggest_transfer_size() and setup_dma() so that this pointer is available. Rename these functions so they have namespace associated with the driver. 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