From: Jonathan Cameron Date: Sat, 21 Apr 2012 09:09:39 +0000 (+0100) Subject: staging:iio:adc:ad7793 use iio_sw_buffer_preenable to avoid repitition. X-Git-Tag: v3.5-rc1~145^2~229^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81a4fc01217c12b42af8a992dcf7fa9cc8373297;p=pandora-kernel.git staging:iio:adc:ad7793 use iio_sw_buffer_preenable to avoid repitition. Now the generic function caches the scan size a lot of what was here was redundant and is removed. Signed-off-by: Jonathan Cameron Acked-by: Lars-Peter Clausen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed