]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: comedi: adl_pci9118: use sample manipulation helpers
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 31 Oct 2014 19:04:33 +0000 (12:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:34:18 +0000 (16:34 -0800)
commit1d3d32a7525bbc9c989f8c3e592dc206ee8b145a
tree74c4547050cf0154bab7009458e37b50f97c04cc
parentb7f9eb054994dbbceb40d376ad6f5701d9d31b4d
staging: comedi: adl_pci9118: use sample manipulation helpers

Use the recently added sample manipulation helpers to remove the hardcoded
assumption of the sample size.

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