From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:28 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove scanning from ai (*insn_read) X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c0ae09a69173a5f831ad66cb2edf1fdb42205a;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove scanning from ai (*insn_read) (*insn_read) functions are supposed to do simple polled reads of a single channel. This driver tries to be tricky and allow passing a chanlist in the analog input (*insn_config) to allow the (*insn_read) to do chanlist scanning with or without interrupts. The (*insn_config) doesn't follow the comedi API and this operation mode is not part of the API. Remove the scanning support from the (*insn_read) as well as the support code in the (*insn_config) and interrupt handler. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed