From a0e82af4c5703138b21e417440ffc937b671db1e Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Wed, 5 Jun 2013 15:36:45 -0700 Subject: [PATCH] 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-format-patch failed