aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-04-22 18:37:03 -0700
committerGreg Kroah-Hartman <[email protected]>2013-04-23 10:41:51 -0700
commitb4780a3afb944765f4b94d79463e570e4472ccb6 (patch)
tree3774db3ff7da245953406a5e47351a56d120d722 /net/lapb/lapb_in.c
parente245b6d12691c1e178a6a075ac3cd1b7cd0d2e0e (diff)
staging: comedi: das800: tidy up das800_ai_insn_read()
Introduce a couple helper functions to read the 16-bit analog input sample and to wait for the analog conversion to complete. Tidy up the das800_ai_insn_read() function by using the new helpers. Also, remove the need for 'thisboard' in the function by checking the subdevice 'maxdata' variable to determine the analog input resolution. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions