aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-14 14:33:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 16:26:02 -0700
commit99928e654da031e5cbf537ab2e83997a1420e30c (patch)
tree16ba607e681ef7188a1080d0b9618c902b9cff8e /scripts
parentstaging: comedi: dt9812: cleanup analog out subdevice (*insn_read) (diff)
staging: comedi: dt9812: cleanup analog out subdevice (*insn_write)
For aesthetic reasons, rename the function to help with grepping and rename some of the local vars. The dt9812_analog_out() function can fail. Make sure to check for any failure and return the errno. The comedi core expects the (*insn_write) functions to return either an errno or the number of samples written. Change the final return to insn->n to make this clearer. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions