From: H Hartley Sweeten Date: Wed, 12 Aug 2015 20:25:42 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3501: refactor apci3501_config_insn_timer() X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c85c26b8d0242da14732312dd99a8595d7a46e2c;p=pandora-kernel.git staging: comedi: hwdrv_apci3501: refactor apci3501_config_insn_timer() The handling for the watchdog and timer modes is very similar. Refactor this function to use a common code path for both modes. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed