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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux