commit | 9ff24fd577fdc6744ca328bdee59133b1094aede | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 12 10:55:53 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:25:20 2015 -0800 |
tree | b4d533629cb66829f797b4b3f7bd7018f4003702 | |
parent | 4d1c15c08f6620ac912d56a800a0322e64a7e3e5 [diff] |
staging: comedi: ni_labpc_isadma: tidy up labpc_init_dma_chan() DMA support is optional for the labpc driver. The return value from labpc_init_dma_chan() is not even checked by the caller. Change the return type to void and tidy up the function a bit. 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>