From: Nelson Castillo Date: Fri, 8 May 2009 13:10:12 +0000 (-0500) Subject: [ARM] S3C: ADC: Expose number of remaining conversions to X-Git-Tag: v2.6.31-rc1~344^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f7ea467be1bad860c0f71ba7373dd3cf76b485a;p=pandora-kernel.git [ARM] S3C: ADC: Expose number of remaining conversions to convert callback This patch allow us to efficiently modify the number of remaining conversions from the client side. This us useful when we do not know in advance how many conversions we will need or when we need to cancel pending conversions. This change is simple enough to be compatible with existing code that can just define the new pointer in the callback and ignore it. Sample usage: http://tinyurl.com/s3c2410-ts-c (function stylus_adc_action). Signed-off-by: Nelson Castillo Signed-off-by: Ben Dooks --- Reading git-diff-tree failed