From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:37 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3120: remove need for boardinfo access X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~841 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fab573b61a7cc771a9f7537e54818b13dcb07cc;p=pandora-kernel.git staging: comedi: hwdrv_apci3120: remove need for boardinfo access The apci3120_ai_insn_config() function is broken in this driver. It does not follow the comedi API and will fail to work correctly. For now just remove the need for the boardinfo access to allow additional cleanup. The 'i_NbrAiChannel' is actually the subdevice 'n_chan' use that instead and remove the boardinfo access. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed