From: H Hartley Sweeten Date: Tue, 20 Jan 2015 19:01:54 +0000 (-0700) Subject: staging: comedi: addi_apci_1500: rewrite the subdevice support functions X-Git-Tag: fixes-v4.0-rc1~99^2~238 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c66b684efaf628752262ed2c48cb096f1cf26d;p=pandora-kernel.git staging: comedi: addi_apci_1500: rewrite the subdevice support functions This driver is a mess. It violates the comedi API so much that I doubt anything actually works. Drop the addi-data/hwdrv_apci1500.c file and rewrite the subdevice support functions. This board has 16 digital inputs (subdevice 0) and 16 digital outputs (subdevice 1). It also has three 16-bit timer/counters provided by a Z8536 CIO chip (subdevice 2). The Z8536 chip is also used to support pattern match interrupt detection of the first 14 digital input channels. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed