From: H Hartley Sweeten Date: Fri, 2 Nov 2012 00:30:17 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: clarify AO subdevice init X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~644 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bb482e25c6c4e5084a0e0847307736bf090adec;p=pandora-kernel.git staging: comedi: addi_apci_3120: clarify AO subdevice init Only the apci3120 board supports an analog output subdevice. The boardinfo indicates this by setting the 'i_NbrAoChannel' value. The range table as well as the function used for the insn_write operation are fixed for the analog outputs. Remove this information from the boardinfo and use it directly in the subdevice init. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed