staging: comedi: me_daq: analog output subdevice could be unused
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 25 Oct 2012 22:07:17 +0000 (15:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:20:01 +0000 (09:20 -0700)
commit43d51f885a1e0901229ad479b61ed97aa2c103f6
tree55f6458d1854260fa16d9558384e68031c2f7cba
parent10cba302edf32753a653659740e1688094f92c86
staging: comedi: me_daq: analog output subdevice could be unused

One of the boards supported by this driver does not have analog
outputs. Fix the attach code to account for this.

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