summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-23 12:56:36 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-30 20:40:58 +0900
commite0b12e6e9af16257f9c9c47ef999d84513b2f3f0 (patch)
tree399b1418a3832fda7e81a25e7d0cf470ac1a55b2 /tools/perf/scripts/python
parent988f5541dbae1f28e0e317f04963aa0c0068520e (diff)
staging: comedi: usbduxsigma: tidy up tidy_up()
Rename the function so it has namespace associated with the driver. For aesthetic reasons, move the function so it's near the one that allocates the usb buffers. Tidy up the function so it frees the buffers in the opposite order they were allocated. Also remove the = NULL for all the buffers, the driver is being detached so the comedi core will kfree the private data. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions