From: H Hartley Sweeten Date: Wed, 5 Jun 2013 22:36:45 +0000 (-0700) Subject: staging: comedi: pcmad: remove need for boardinfo in pcmad_ai_insn_read() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e82af4c5703138b21e417440ffc937b671db1e;p=pandora-kernel.git staging: comedi: pcmad: remove need for boardinfo in pcmad_ai_insn_read() The const boardinfo pointer is only used in this function to work out the value needed to convert the data to its twos complement. Use the comedi_subdevice 'maxdata' to do this conversion and remove the 'board' pointer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed