linux/drivers/staging
Ian Abbott 66d4da800d staging: comedi: comedi_test: simplify time since last AI scan
The private data structure `struct waveform_private` currently uses
member `last` to remember the time of the last timer interrupt, and the
member `usec_remainder` to keep track of how far into a simulated scan
the interrupt occurred.  Replace these with a single new member
`ai_last_scan_time` that records the time of the last scan.  This
simplifies the calculation of the number of scans to simulate in the
timer routine, `waveform_ai_interrupt()`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-29 08:58:36 +09:00
..
android staging: ion: Remove explicit NULL comparison 2015-10-24 19:26:59 -07:00
board
clocking-wizard
comedi staging: comedi: comedi_test: simplify time since last AI scan 2015-10-29 08:58:36 +09:00
dgap staging: dgap: add spaces around binary operator '|' 2015-10-24 19:33:42 -07:00
dgnc staging: dgnc: dgnc_driver: Remove useless initialisation 2015-10-16 22:56:23 -07:00
emxx_udc Staging: emxx_udc: Add space around operator. 2015-10-24 19:21:05 -07:00
fbtft staging: fbtft: fix voltage settings for C-Berry28 2015-10-24 19:42:37 -07:00
fsl-mc staging: fsl-mc: section mismatch bug fix 2015-10-27 14:40:14 +09:00
fwserial
gdm72xx Staging: gdm72xx: Remove unnecessary cast on void pointer 2015-10-16 22:51:48 -07:00
gdm724x staging: gdm724x: remove multiple blank lines 2015-10-24 19:02:42 -07:00
goldfish staging: goldfish: Prefer kernel type u32 over uint32_t 2015-09-12 18:24:38 -07:00
gs_fpgaboot
iio staging: iio: accel: add bracket on all branches of the if/else 2015-10-29 08:53:42 +09:00
lustre staging: lustre: cleanup over 80 characters in libcfs_hash.h 2015-10-29 08:02:24 +09:00
media staging: media: omap4iss: Fixes line break 2015-10-27 16:53:12 +09:00
most staging: most: remove exclusive wait_queue 2015-10-29 08:57:19 +09:00
mt29f_spinand Staging: mt29f_spinand: Indent to match open parenthesis 2015-10-27 16:55:23 +09:00
netlogic staging: netlogic: Do not use multiple blank lines. 2015-10-24 19:38:48 -07:00
nvec staging: nvec: Do not use multiple blank lines. 2015-10-27 14:49:09 +09:00
octeon staging: octeon: Do not use multiple blank lines. 2015-10-24 19:28:52 -07:00
octeon-usb staging: octeon-usb: Replace kmalloc with kmalloc_array 2015-10-24 19:28:52 -07:00
olpc_dcon Staging: olpc_dcon: Remove NULL comparison 2015-10-16 23:06:38 -07:00
panel Staging: panel: Logical continuations should be on the previous line 2015-10-29 07:55:17 +09:00
rdma staging/rdma/hfi1: Update driver version string to 0.9-294 2015-10-27 17:45:51 +09:00
rtl8188eu staging: rtl8188eu: Remove unnecessary variables 2015-10-27 17:00:47 +09:00
rtl8192e staging: rtl8192e: _rtl92e_fw_boot_cpu: Remove unneeded goto 2015-10-24 19:23:13 -07:00
rtl8192u staging: rtl8192u: ieee80211: Do not export static function 2015-10-27 16:55:23 +09:00
rtl8712 staging: rtl8712: rtl871x_io: Remove unused function 2015-10-29 07:55:17 +09:00
rtl8723au staging: rtl8723au: core: Remove unnecessary functions 2015-10-29 07:55:17 +09:00
rts5208 Staging: rts5208: use dmam_alloc_coherent 2015-10-16 23:17:26 -07:00
skein skein: fix coding style 2015-10-24 19:30:12 -07:00
slicoss staging: slicoss: Fixes block comment style 2015-10-27 14:43:31 +09:00
sm750fb staging: sm750fb: remove unused fields from struct sm750_dev 2015-10-27 17:04:57 +09:00
speakup staging: speakup: Remove multiple assignments 2015-10-24 19:44:30 -07:00
ste_rmi4 Staging: ste_rmi4: Remove unnecessary MODULE_ALIAS() 2015-09-12 18:24:38 -07:00
unisys staging: unisys: Remove useless intialisation 2015-10-16 22:59:36 -07:00
vme
vt6655 staging: vt6655: Add space around '*' 2015-10-24 19:38:48 -07:00
vt6656 staging: vt6656: Do not use multiple blank lines. 2015-10-27 16:53:12 +09:00
wilc1000 Staging: wilc1000: Prefer eth_broadcast_addr over memset() 2015-10-29 08:51:27 +09:00
wlan-ng Staging: wlan-ng: Remove unused p80211meta.h file 2015-10-29 07:55:17 +09:00
xgifb Staging: xgifb: Remove space after cast 2015-10-24 19:11:30 -07:00
Kconfig staging: ft1000: remove obsolete driver 2015-10-24 19:19:43 -07:00
Makefile staging: ft1000: remove obsolete driver 2015-10-24 19:19:43 -07:00
staging.c