Refactor dt282x_ns_to_timer() to remove the magic numbers used to calculate
the divisor needed to generate the pacer clock ns timing.
Remove some unnecessary/redundant cruft from the driver.
v2: Ian Abbott prefered to keep the comedi_check_trigger_arg_max() check
of the convert_arg (patch 1).
H Hartley Sweeten (3):
staging: comedi: dt282x: refactor dt282x_ns_to_timer()
staging: comedi: dt282x: remove redundant comedi_check_trigger_arg_min()
staging: comedi: dt282x: remove unnecessary comment
drivers/staging/comedi/drivers/dt282x.c | 54 +++++++++++++++------------------
1 file changed, 24 insertions(+), 30 deletions(-)
--
2.6.3
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel