From: H Hartley Sweeten Date: Thu, 6 Sep 2012 01:28:00 +0000 (-0700) Subject: staging: comedi: adv_pci_dio: clarify subdevice index in pci1760_attach() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~656 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b7bcac20ca917b481c2ac5941c339d06b6d211;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed