From: H Hartley Sweeten Date: Tue, 29 Apr 2014 18:08:39 +0000 (-0700) Subject: staging: comedi: adv_pci1710: tidy up start_pacer() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1080 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=925ddefce0e9eec2412d03ceaa40f57323d09fec;p=pandora-kernel.git staging: comedi: adv_pci1710: tidy up start_pacer() For aesthetics, rename this function so it has namespace associated with the driver. Change the parameters to the function. The 'mode' is really a flag to load the counters and the divisors can be found in the private data. To clarify the code and remove the magic numbers, use the 8253.h helpers to set the timer mode and load the counters. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed