summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-20 15:10:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 15:36:40 -0800
commitdcbd4ed87cc82398238eb870008a338b4faec76f (patch)
treea709a7ee54b2798afcc9feed6a9a1c82044714f4 /tools/perf/scripts/python/bin
parent21cdf8f43b85a9e6c9905dbeb401e4a4d1c8a6c3 (diff)
staging: comedi: adv_pci1724: introduce adv_pci1724_insn_write()
The analog output, offset calib, and gain calib subdevices all use similar (*insn_write) functions. The onyl difference is the 'mode' that is passed to the set_dac() helper. Introduce a new (*insn_write) function that can be used by all the subdevices. Use the s->private member to pass the 'mode' needed by set_dac(). Remove the subdevice specific (*insn_write) functions. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions