staging: comedi: pcl711: introduce pcl711_ai_get_sample()
commit8f394ee163f18d54abb7e47bf0f6f43ab59489d6
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Sep 2013 23:38:52 +0000 (20 16:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 22:59:58 +0000 (25 15:59 -0700)
tree639d913de5fa6d818a554a9251b96fcfe0da8eed
parentdfb7567613e153f9def668b914100c13d84ea7f8
staging: comedi: pcl711: introduce pcl711_ai_get_sample()

Introduce a helper function to read the analog input data from the
hardware.

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/pcl711.c