From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:30:45 +0000 (-0700) Subject: staging: comedi: pcmmio: move ao shadow data to device private data X-Git-Tag: v3.14-rc1~150^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83d5f266199dfdfb1761a6d2a406450e80bfac0;p=pandora-kernel.git staging: comedi: pcmmio: move ao shadow data to device private data There is only one ai subdevice in this driver so there is no reason to hold the last sample written to each channel in the subdevice private data. Move the data into the device private data, This gets some of the data out of the subdevice private data union and removes some of the uses of the ugly 'subpriv' macro. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed