From: H Hartley Sweeten Date: Thu, 25 Oct 2012 22:10:52 +0000 (-0700) Subject: staging: comedi: me_daq: simplify analog output boardinfo X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~922 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=310239e70aab8d958088948449b7e05d6de64b9c;p=pandora-kernel.git staging: comedi: me_daq: simplify analog output boardinfo The boards supported by this driver either have analog outputs or don't have them. Add a new boardinfo value, 'has_ao', to indicate this. The boards that have analog outputs always have 4, 12-bit channels. Remove the unnecessary boardinfo and just open-code the values in the subdevice initialization. The boards with analog outputs also share the same output range capabilities. Rename the comedi_lrange to make it common for all board types. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed