From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:10:53 +0000 (-0700) Subject: staging: comedi: adv_pci1724: define the dac control register bits X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d94bcc8e524c5dfe9443007600dfdecd81a5d9;p=pandora-kernel.git staging: comedi: adv_pci1724: define the dac control register bits Define the bits for the DAC control register and remove the enum along with the helper functions. Simplify adv_pci1724_insn_write() a bit. The 'ctrl' bits are based on the 'chan' and 'mode' and do not need to be recalculated for each 'val'. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed