commit | 742c4a095973f696cc9337e8ae39c3c4a834f7db | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 12 10:56:14 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:25:22 2015 -0800 |
tree | 62cd4c3e0ed5a6b08e569dd51b80d410517fa672 | |
parent | 7447cd60a3700aa915b45e18afddd338eaaec117 [diff] |
staging: comedi: das16: introduce das16_free_dma() For aesthetics, move the freeing of the DMA channel and the buffers to a helper function. 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>