staging: comedi: adv_pci_dio: clarify subdevice index in pci1760_attach()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Sep 2012 01:28:00 +0000 (18:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 03:01:37 +0000 (20:01 -0700)
commita2b7bcac20ca917b481c2ac5941c339d06b6d211
tree3173d6052b1cafb910674aff86208923d0fd6842
parent2b36ab6c6f6931509b0445e8e229162ef004c61e
staging: comedi: adv_pci_dio: clarify subdevice index in pci1760_attach()

The subdevice index numbers are fixed when attaching to a pci1710 card.
Remove the subdev variable and just open code the array index numbers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adv_pci_dio.c