From: H Hartley Sweeten Date: Tue, 14 May 2013 21:28:26 +0000 (-0700) Subject: staging: comedi: dt9812: move shadow values to private data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~619 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135a0009a5ff601e2c68dfd6b280f42e43711c23;p=pandora-kernel.git staging: comedi: dt9812: move shadow values to private data The analog and digital out shadow values are only used by the comedi_device. Move the variables from the usb private data to the comedi private data. Also, rename them to something a bit shorter. Move the initialization of the shadow values from the usb probe to the comedi attach. Also rename the flag used to determine the initial value from 'range_2_5' to 'is_unipolar'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed