summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-02-17 14:27:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 11:55:32 -0800
commitf8d863e4a9b7c7fefa9a1e743d5c290175e361bc (patch)
tree9551d79ef1f4a84984fda8134ae551734c263510 /include/linux/timerqueue.h
parent7440df0222bef37552dd5b3b7dd86e63f5029165 (diff)
staging: comedi: pcl812: don't calc the timer divisors twice
The timer divisors are calculated in the (*do_cmdtest) before the (*do_cmd) is called by the comedi core. Save the values in the private data so they don't need to be recalced. Refactor pcl812_start_pacer() to use the values from the private data. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions