[PATCH v2 0/3] staging: comedi: dt282x: minor cleanup

Ian Abbott abbotti at mev.co.uk
Thu Mar 24 10:33:01 UTC 2016


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 at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list