From: H Hartley Sweeten Date: Tue, 11 Nov 2014 00:57:56 +0000 (-0700) Subject: staging: comedi: adl_pci9118: use comedi_bytes_to_samples() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6266a41d820feaa7b7febe122b285e336e40bfd;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed