From: H Hartley Sweeten Date: Tue, 1 Oct 2013 22:13:14 +0000 (-0700) Subject: staging: comedi: ni_6527: tidy up ni6527_intr_insn_config() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~466 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1eb3605284e11b415a897f7c1cb01319a250a5a;p=pandora-kernel.git staging: comedi: ni_6527: tidy up ni6527_intr_insn_config() Handle the instruction (data[0]) with a switch to make it easier to add additional instructions in the future. To clarify the code, factor out the code that sets the rising/falling edge detection. Rename the CamelCase defines used for the rising/falling edge detection registers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed