]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_3120: cleanup apci3120_detach()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 2 Nov 2012 00:30:37 +0000 (17:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Nov 2012 18:23:50 +0000 (11:23 -0700)
commit97641816b58fccaf157ab5093f55f0a319d7a55f
tree10ee0c93e7da70b1f07a6b0cf385474112e280b8
parent0bb482e25c6c4e5084a0e0847307736bf090adec
staging: comedi: addi_apci_3120: cleanup apci3120_detach()

This driver always tried to allocate the dma buffers so they need to
be free'd when the board is detached.

Remove the unneeded tests for the eeprom chip and bring the code
back an indent.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_3120.c