staging: comedi: cb_das16_cs: remove n_boards define
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 25 Jun 2012 23:57:36 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:30:51 +0000 (15:30 -0700)
commit1efc5d53b7c1355a3491061587153c8f89613aaa
tree460de43cf64f299e5c04e4abff8d942673bd07a2
parent16a8cdfc13526983f6c55e35c09bbe091ac11e96
staging: comedi: cb_das16_cs: remove n_boards define

The 'n_boards' define is only used one place in the driver.
Just put the ARRAY_SIZE() where used and remove the define.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c