summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-03 19:05:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-05 15:35:39 -0700
commitef7654c056dbcf19fc560fad1b28ee611b487469 (patch)
tree9cf3e0c73fdeee8770df71a2c0b5a5a221681b63 /tools/perf/scripts/python
parent78b2db4fda5985c7da4526aa0505c1ed66c2e526 (diff)
staging: comedi: pcmda12: tidy up zero_chans()
Rename the function so it has namespace associated with the driver. For aesthetic reasons, move the function closer to it's only caller. Pass the comedi_subdevice pointer to the function so we can get the number of channels to reset from it instead of using the 'CHANS' define. Remove the 'CHANS' define since it's a very generic name. 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')
0 files changed, 0 insertions, 0 deletions