staging: comedi: pcl818: factor out dma setup to helper functions
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Mar 2014 18:29:29 +0000 (11:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 01:06:10 +0000 (17:06 -0800)
commitab72ef30da7341ab881dd7893a5d96766ca57d9f
treefdc2cae54f5342176b420bf7d8cff251d54f3fe6
parent82ac3e7ad17b7abf56fa8ced301bd30fc5ca973b
staging: comedi: pcl818: factor out dma setup to helper functions

To assist in cleaning up the the rest of the driver, factor the initial
dma setup and the next dma buffer setup into helper functions.

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