]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: das16m1: convert munge_sample_array() into a subdevice (*munge)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 3 May 2016 19:30:01 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:42:21 +0000 (20:42 -0700)
commit6a1e70aa519ee6b2336402dd7d59a7c013c98c9f
tree4fb11e30668dbc353025c6ce963c624a97299f67
parent33a88d4c1c95d137c74d0e3648423d838e33f90c
staging: comedi: das16m1: convert munge_sample_array() into a subdevice (*munge)

For aesthetics, convert this function into a subdevice (*munge) function and let
the comedi core handle the munging.

Add a comment about why the data needs to be munged.

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