From: H Hartley Sweeten Date: Mon, 10 Mar 2014 21:07:39 +0000 (-0700) Subject: staging: comedi: c6xdigio: use comedi_offset_munge() X-Git-Tag: v3.15-rc1~139^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b31d3996a866408ebd6d16992d166b0207c7c1;p=pandora-kernel.git staging: comedi: c6xdigio: use comedi_offset_munge() The value read from the encoders is in two's complement format. Use the comedi_offset_munge() helper to convert the value to offset binary. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed