From: H Hartley Sweeten Date: Tue, 29 Apr 2014 19:59:49 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3120: fix 'b_AiCyclicAcquisition' usage X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1054 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=204563198e729cb9c12131a77a1bfdeaacd2a497;p=pandora-kernel.git staging: comedi: hwdrv_apci3120: fix 'b_AiCyclicAcquisition' usage This private data member is set when an analog input async command is started by apci3120_cyclic_ai() and cleared when the command finishes or is canceled. Rename the CamelCase member to 'ai_running' and convert it to a bit-field flag. Remove the unnecessary clearing of the flag before or after calling apci3120_cancel(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed