diff options
| author | H Hartley Sweeten <[email protected]> | 2016-03-23 12:24:29 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | 581867bd9151ee77fad4b0fe47af96d923ac9ec2 (patch) | |
| tree | f9bdee8e84827959db6472dc3103232238156158 /tools/perf/scripts/python | |
| parent | 47470216cc2fe413156aa44d7ae55e65712b0931 (diff) | |
staging: comedi: dt282x: refactor dt282x_ns_to_timer()
Define the pacer clock limits and remove the magic numbers. Refactor
the code to use a common path to return the actual 'ns' timing and
the timer divisor value.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions