staging: comedi: addi_apci_1564: tidy up apci1564_reset()
authorChase Southwood <chase.southwood@yahoo.com>
Thu, 17 Apr 2014 06:33:03 +0000 (01:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 21:07:51 +0000 (14:07 -0700)
commit170b09b03b6ed4a1a89d9d83d1eac0e2f733f633
tree2f74d24a23b1451ff073f1bc90cf9879de5366e0
parent8f266f47c2c9fc17b0271a06d6eb321bee44980c
staging: comedi: addi_apci_1564: tidy up apci1564_reset()

The reset function for this driver is a bit of a mess; clean it up to
ensure that it is functioning properly.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci1564.c