commit | 665ee190c99d05940ed0959717b78ef176b92e95 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 12 10:55:56 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:25:20 2015 -0800 |
tree | b599974cb787123aa805cafb69afc013988c276c | |
parent | 655cd94018c9b98b9aabab8960e5b3772a5bafaf [diff] |
staging: comedi: pcl818: introduce pcl818_dma_free() 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>