staging: comedi: remove COMEDI_FIRST_SUBDEVICE_MINOR
authorIan Abbott <abbotti@mev.co.uk>
Thu, 4 Apr 2013 13:59:03 +0000 (14:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 21:33:19 +0000 (14:33 -0700)
commit8907cf6c5da2bb6d877c8ba59f90aff1b72cd814
treef4f64744b9d15d5e7b26426a3eb2aee356cf6211
parenteda56825d582901b6a1c36fb8d754a3ebee0388c
staging: comedi: remove COMEDI_FIRST_SUBDEVICE_MINOR

The macro `COMEDI_FIRST_SUBDEVICE_MINOR` just expands to another macro
`COMEDI_NUM_BOARD_MINORS`.  Replace uses of
`COMEDI_FIRST_SUBDEVICE_MINOR` with `COMEDI_NUM_BOARD_MINORS` and get
rid of the former.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c