From: Jonathan Cameron Date: Sat, 21 Apr 2012 09:09:36 +0000 (+0100) Subject: staging:iio:adc:ad7192 make use of iio_sw_buffer_preenable. X-Git-Tag: v3.5-rc1~145^2~229^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2150489ffbd1cd6f5d1091c1738b1adfbdf34a43;p=pandora-kernel.git staging:iio:adc:ad7192 make use of iio_sw_buffer_preenable. This is not a fast path, so although the original code was more consise use the generic case to cut down on code repitition. Signed-off-by: Jonathan Cameron Acked-by: Lars-Peter Clausen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed