From: H Hartley Sweeten Date: Mon, 29 Jul 2013 20:54:09 +0000 (-0700) Subject: staging: comedi: das16: all supported board have digital inputs X-Git-Tag: v3.12-rc1~183^2~446 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb1864ba9535353530f43ae60386f00bc629a5bb;p=pandora-kernel.git staging: comedi: das16: all supported board have digital inputs All the boards supported by this driver have digital inputs and all of then use the same function to handle the (*insn_bits) for the subdevice. Remove the 'di' member from the boardinfo and always initialize the digital input subdevice during the board attach. Tidy up the subdevice init a bit as well as the (*insn_bits) function. The (*insn_bits) function does not need to clear data[0]. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed