From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:37 +0000 (-0700) Subject: staging: comedi: ni_labpc_isadma: remove hard coded samples size X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~383 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac525a7f724ef47cae087fc2b09978a5fdda829c;p=pandora-kernel.git staging: comedi: ni_labpc_isadma: remove hard coded samples size Use the comedi_bytes_per_sample() helper and remove the hard coded sample size. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed