From: H Hartley Sweeten Date: Sat, 8 Sep 2012 00:49:37 +0000 (-0700) Subject: staging: comedi: me4000: cleanup me4000_cnt_insn_config() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~520 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83eef17c7845d08eb40e5792ed40b387eb555bdd;p=pandora-kernel.git staging: comedi: me4000: cleanup me4000_cnt_insn_config() Absorb the cnt_reset and cnt_config helper functions. They are now both just single line routines. Remove the printk noise about "Invalid instruction length". Fix the return value, the value should be the number of data values used to perform the instruction. The GPCT_RESET instruction only has one parameter. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed