staging: comedi: usbdux: remove the SUBDEV_* defines
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 24 Jul 2013 21:11:33 +0000 (14:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:15:26 +0000 (13:15 -0700)
commite5acdc3561b14a73f5de6bca8a703d9faa7d191c
tree2e9e6d7ea2e2310e1817c4cce3693f005b3cb7fa
parentc9f3363a301844bbb2fa2d35e4baf4d9fd025df8
staging: comedi: usbdux: remove the SUBDEV_* defines

These defines are only used to index the dev->subdevices array
during the attach. It's cleaner to just open-code the values.

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