staging: comedi: cb_das16_cs: refactor the comedi attach/detach
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 25 Jun 2012 23:36:20 +0000 (16:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:30:51 +0000 (15:30 -0700)
commitae7df43422cc0afdd5a808638dd7935ad752c62e
treed699a0966fc53f9b35b300b18703fbc87c7f1467
parent2f01826783c95d7056304408c0046198d25e71b6
staging: comedi: cb_das16_cs: refactor the comedi attach/detach

Move the comedi_driver attach/detach functions, as well as the
probe function used during the attach. This removes the need
for all the forward declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c