From: Jonathan Cameron Date: Sat, 21 Apr 2012 09:09:41 +0000 (+0100) Subject: staging:iio:adc:ad799x use iio_sw_buffer_preenable to avoid code repitiion X-Git-Tag: v3.5-rc1~145^2~229^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1633187829aa11a475ab6e453f05d3f6a172aff;p=pandora-kernel.git staging:iio:adc:ad799x use iio_sw_buffer_preenable to avoid code repitiion Using this generic function cuts down on repeated code at the cost of a little overhead 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