On 23/03/16 19:24, H Hartley Sweeten wrote:
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(-)
Thanks! Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx> -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Web: http://www.mev.co.uk/ )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel