staging: comedi: s626: factor out the board init code
commit80ec9510296224048021793b644eb9057c59df5a
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:24:27 +0000 (24 13:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:31 +0000 (26 09:37 -0700)
tree8507be014685010fc2ad26344cc67a91e0f8feab
parent8c7e4277c1197d31c0b34dbaf23e6edddb5978f7
staging: comedi: s626: factor out the board init code

To make the attach a bit cleaner, factor the board init code
out of attach_pci() into a new function.

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