staging: comedi: ni_mio_cs: cleanup cs_attach()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 26 Jan 2013 00:34:27 +0000 (17:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:08:23 +0000 (23:08 -0500)
commite5e7ff89e660e8e1a0861062197f3fd4d7576c41
tree9bd09ab24cc67d3c8f529bb268d03c1e8a4af041
parent1b69a7577a2a67841c0a6fb742392457a7aa989c
staging: comedi: ni_mio_cs: cleanup cs_attach()

Absorb the code from mio_cs_config() into this function and
properly return the error if the configuration fails.

Remove the DPRINTK() function trace message.

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