]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf68e0829f78fd7abdc3e789448f08ebc191b081
treed699a0966fc53f9b35b300b18703fbc87c7f1467
parent2eee47921e0046b0d831d989da0990d4b89ce891
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