commit | c78a1f487028775b146e3be89690f19b845409b7 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Nov 04 10:55:27 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 07 09:34:05 2014 -0800 |
tree | a72373463cb80fc8d9360c33f78bc7325e43f691 | |
parent | 76e6047088b75b773893ee23d4134ca7dc192c16 [diff] |
staging: comedi: addi_apci_3120: use comedi_bytes_to_samples() Use the helper function to calculate the number of samples in the DMA buffer. For aesthetics, tidy up the local variables. 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>