]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit499f10373d9c818ca2d90bc0f64b221f1f6c3286
tree460de43cf64f299e5c04e4abff8d942673bd07a2
parent20f7de336a6e786bb175b9433f6401ca963bc13d
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