From: H Hartley Sweeten Date: Fri, 18 Jan 2013 17:47:19 +0000 (-0700) Subject: staging: comedi: addi_apci_16xx: remove need for comedi_board() X-Git-Tag: v3.9-rc1~127^2~376 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875a9cb1bd8153688ec76be746d620ff6f604f86;p=pandora-kernel.git staging: comedi: addi_apci_16xx: remove need for comedi_board() Currently this driver uses the total number of channels, stored in the boardinfo, in a number of the subdevice insn_* functions. This information is already available in the subdevice as 's->n_chan'. Use that instead of needing to get the board pointer first. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed