diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:56:36 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:58 +0900 |
| commit | e0b12e6e9af16257f9c9c47ef999d84513b2f3f0 (patch) | |
| tree | 399b1418a3832fda7e81a25e7d0cf470ac1a55b2 /tools/perf/scripts/python | |
| parent | 988f5541dbae1f28e0e317f04963aa0c0068520e (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 <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions