staging: comedi: cb_das16_cs: cleanup dio subdevice initialization
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 26 Jun 2012 00:00:19 +0000 (17:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:30:52 +0000 (15:30 -0700)
commitf87a7e5bf50d83d9dca0e87d10eac7226e0ac61d
tree06a7ffaa4ff60b195fd65a8563dd8f10aa40cd9d
parent5c416ef3f67e9f524ac3ab07c071323f66616373
staging: comedi: cb_das16_cs: cleanup dio subdevice initialization

The digital i/o subdevice is always initialized due to the 'if (1)'.
Simplify the attach by removing the test.

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