From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:13:19 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: analog output 'maxdata' is always 12-bit X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1861cb0d29cdc0a28fba02a4d84918118a5ea4e;p=pandora-kernel.git staging: comedi: addi_apci_3xxx: analog output 'maxdata' is always 12-bit The boards that have analog outputs always have 12-bit resolution. Remove the 'i_AoMaxdata' data from the boardinfo and open code the s->maxdata. Use the hex value for the resolution since that is more common in comedi drivers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed