From: H Hartley Sweeten Date: Fri, 22 Mar 2013 16:53:49 +0000 (-0700) Subject: staging: comedi: ni_labpc: introduce labpc_counter_set_mode() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~448 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=463f930401024926eadf4c613a547f2eb41a2882;p=pandora-kernel.git staging: comedi: ni_labpc: introduce labpc_counter_set_mode() Introduce labpc_counter_set_mode() which is a wrapper around the i8254_set_mode() helpers to program the 8254 timers. Use the new function instead of directly writing to the timer mode register with a "magic" number. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed