From: Jonathan Cameron Date: Sat, 21 Apr 2012 09:09:40 +0000 (+0100) Subject: staging:iio:adc:ad7887 make use of iio_sw_buffer_preenable. X-Git-Tag: v3.5-rc1~145^2~229^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64c0634e561c7236f8da5782c8023ec05f8fb5a;p=pandora-kernel.git staging:iio:adc:ad7887 make use of iio_sw_buffer_preenable. Using this generic function cuts down on repeated code at the cost of some computation in a slow path. Signed-off-by: Jonathan Cameron Acked-by: Lars-Peter Clausen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed