staging: comedi: das1800: tidy up das1800_init_dma()
Refactor this function so that a for loop can be used to request and set up the two DMA descriptors. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: NIan Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录