staging: comedi: pcl812: use cfc_bytes_per_scan()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 27 May 2014 17:31:10 +0000 (10:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:28:56 +0000 (14:28 -0700)
commit897d21b9ac61e6199e03da67c2307553db0736bf
tree4217730502bbc4ffb7f3aec5c157a74ef16d5f83
parent4bc030446fd6d4ad3d719228f2f30be2b989c575
staging: comedi: pcl812: 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/pcl812.c