staging: comedi: dt9812: factor the device reset out of dt9812_probe()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:29:40 +0000 (14:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:26:00 +0000 (16:26 -0700)
commit8db1eba1e267bcd8d524eab3bdc2357b6d770f33
treed7fa7083b77ef3cdbebd938ca7629c1e266a71fe
parent8ee26468babacd156e366e5c123fa8fb0860a44b
staging: comedi: dt9812: factor the device reset out of dt9812_probe()

When this driver is converted to the comedi (*auto_attach) mechanism
the device reset will be done during the (*auto_attach). To make the
conversion cleaner, factor the device reset out of the (*probe).

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