]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: das16: introduce das16_free_dma()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 12 Jan 2015 17:56:14 +0000 (10:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 22:25:22 +0000 (14:25 -0800)
commit742c4a095973f696cc9337e8ae39c3c4a834f7db
tree62cd4c3e0ed5a6b08e569dd51b80d410517fa672
parent7447cd60a3700aa915b45e18afddd338eaaec117
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>
drivers/staging/comedi/drivers/das16.c