From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:21:33 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: remove 'i_NbrAiChannelDiff' boardinfo X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d4729066cde58c730573d6aad2ea29f8048fcb3;p=pandora-kernel.git staging: comedi: addi_apci_3xxx: remove 'i_NbrAiChannelDiff' boardinfo The number of differential analog input channels is always half the number of single-ended channels, 'ai_n_chan', or all the channels if the board does not support single-ended channels. We can use the 'ai_subdev_flags' boardinfo to determine if the board does not support single-ended channels. To simplify the boardinfo, remove the 'i_NbrAiChannelDiff' and just use 'ai_n_chan' to specify the number of channels. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed