[PATCH 3/4] staging: comedi: adl_pci9118: use comedi_bytes_to_samples()

Ian Abbott abbotti at mev.co.uk
Tue Nov 11 17:11:57 UTC 2014


On 11/11/14 00:57, H Hartley Sweeten wrote:
> 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 at visionengravers.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>   drivers/staging/comedi/drivers/adl_pci9118.c | 4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list