From: H Hartley Sweeten Date: Thu, 22 Jan 2015 00:22:14 +0000 (-0700) Subject: staging: comedi: vmk80xx: tidy up vmk80xx_cnt_insn_config() X-Git-Tag: fixes-v4.0-rc1~99^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4a75b21014bfb4ab977e461e17d2c759472f84b;p=pandora-kernel.git staging: comedi: vmk80xx: tidy up vmk80xx_cnt_insn_config() Tidy up this (*insn_config) function to follow the normal format in comedi drivers. INSN_CONFIG_RESET instructions do not have any extra parameters (insn->n is always 1) so the for loop used to write the packet doesn't make any sense. Remove it and just write the single packet. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed