]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit243c701308e9798d3bdd55cc2446cbbdbc44ea28
tree4fb11e30668dbc353025c6ce963c624a97299f67
parentd0e50e6588e236c17f494b3055be986344692af9
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