staging: comedi: pcl816: use cfc_bytes_per_scan()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 27 May 2014 17:31:11 +0000 (10:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:28:56 +0000 (14:28 -0700)
commit4acaec1cfa57fb44ede0fea52f242bd4a9a1422d
tree2da7c34b90b518a2db08c43b302fb2dbc0d805c6
parent897d21b9ac61e6199e03da67c2307553db0736bf
staging: comedi: pcl816: use cfc_bytes_per_scan()

Use the comedi_fc helper to get the number of bytes per scan.

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>
drivers/staging/comedi/drivers/pcl816.c