commit | f19810d21becb4f3a92ce8d0b7cc2a0657a153de | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 12 10:55:40 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:25:18 2015 -0800 |
tree | 80559f1ece021f36fc70f0931ba0b628b6be688c | |
parent | ffcc4b59de22da4bc8a213457c25ac62f94b12eb [diff] |
staging: comedi: das1800: reduce indent level of das1800_init_dma() An IRQ and at least one DMA channel are required to use DMA with this driver. Move the check to the caller to reduce the indent level of this 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>