]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: usbdux: use comedi_offset_munge()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 14 Aug 2015 22:23:31 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:17 +0000 (18:24 -0700)
commit6e2ebdf8720306d9aee47de4e050b41884de7e3d
tree0631563c4add8ac4670db03228d5acf6f6c06ed4
parent2779b7e51497b5d0855dc7d21d793998acd2ad5f
staging: comedi: usbdux: use comedi_offset_munge()

Use the comedi_offset_munge() helper to convert the hardware two's
complement values to the offset binary format expected by comedi.

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