From: Jonathan Cameron Date: Wed, 18 May 2011 13:42:24 +0000 (+0100) Subject: staging:iio: rationalization of different buffer implementation hooks. X-Git-Tag: v3.0-rc1~336^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5565a450248d827afa949aab157873d4b9be329e;p=pandora-kernel.git staging:iio: rationalization of different buffer implementation hooks. 1) move a generic helper function out of ring_sw. It applies to other buffers as well. 2) Get rid of a lot of left over function definitions. 3) Move all the access functions into static structures. 4) Introduce and use a static structure for the setup functions, preenable etc. Some driver conversions thanks to Michael Hennerich (pulled out of patches that would otherwise sit after this). Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed