staging: comedi: ni_at_a2150: introduce a2150_free_dma()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 12 Jan 2015 17:55:49 +0000 (10:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 22:25:19 +0000 (14:25 -0800)
commitb1478901b677dd430f4e97989f7f6e2dc8e54556
tree60c79f707bdbe4626344166577c27ae39c79d4c8
parent7cbb0ef93a63f7c0574d852607af71f348ccc751
staging: comedi: ni_at_a2150: introduce a2150_free_dma()

For aesthetics, introduce a helper function to free the DMA channel and
buffer.

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/ni_at_a2150.c