From: H Hartley Sweeten Date: Mon, 12 Jan 2015 17:55:47 +0000 (-0700) Subject: staging: comedi: ni_at_a2150: use comedi_bytes_per_sample() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~429 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2447a27c877a1a4995a85eb4bc456551c0c5a5f9;p=pandora-kernel.git staging: comedi: ni_at_a2150: use comedi_bytes_per_sample() For aesthetics, use the helper function to get the byte size of each sample instead of using sizeof() the first buffer element. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed