]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9118: factor out DMA alloc/free
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:26 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:23 +0000 (14:34 -0700)
commit78a50722726e03e853d245e1c56304bf06d44918
tree2e415256529c84c34b2ddfe4fddc1515d662d129
parent27986b51f5c9b0d3c27dc87280b3ddcf7eb02917
staging: comedi: adl_pci9118: factor out DMA alloc/free

For aesthetics, factor the DMA allocation/free code out of the attach
and detach 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/adl_pci9118.c