From: H Hartley Sweeten Date: Tue, 4 Mar 2014 18:29:50 +0000 (-0700) Subject: staging: comedi: pcl818: remove 'ai_mode' from private data X-Git-Tag: v3.15-rc1~139^2~653 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799f89cee3525c495e90fe448619d5042f67cc35;p=pandora-kernel.git staging: comedi: pcl818: remove 'ai_mode' from private data This member of the private data is not needed. We can determine the interrupt mode based on the 'dma' and 'usefifo' members. Refactor the interrupt handler and the (*cancel) function to not use the 'ai_mode' and remove the setting of this member in the (*do_cmd) heler functions. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed