From: H Hartley Sweeten Date: Wed, 27 Jun 2012 22:06:14 +0000 (-0700) Subject: staging: comedi: adl_pci6208: cleanup pci6208_ao_winsn() X-Git-Tag: v3.6-rc1~100^2~459 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8366404bf1c034d902af06a6a6d88fe77a2cc7fb;p=pandora-kernel.git staging: comedi: adl_pci6208: cleanup pci6208_ao_winsn() Use the defines for the register map to make the code a bit clearer. Shorten or rename some of the local variables for the same reason. Only the last value written to the DAC needs to be cached in the ao_readback variable. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed