From: H Hartley Sweeten Date: Thu, 4 Sep 2014 19:14:11 +0000 (-0700) Subject: staging: comedi: adl_pci9118: introduce pci9118_timer_set_mode() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~684 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8dbcc2d027d959300b172bf11764af92f9a8dcf;p=pandora-kernel.git staging: comedi: adl_pci9118: introduce pci9118_timer_set_mode() This driver uses 32-bit instructions to write the 8254 timers so we can't use the helper functions provided by 8253.h. To clarify the code introduce a helper function to set the timer mode. Remove the unnecessary commented out timer mode programming. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed