staging: comedi: adl_pci9111: remove pci9111_board_nbr macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 01:50:49 +0000 (18:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:02:23 +0000 (20:02 -0700)
commit3faac285bbe190667798bc6aa20c51c91c6a165e
tree27d02888d92b1e2f4f3323f21149c8c26fd42cf9
parent98943079bfe0fcaca05410ea2fcfc00988ecc661
staging: comedi: adl_pci9111: remove pci9111_board_nbr macro

This macro is an open-coded version of the kernels ARRAY_SIZE
macro. Use the kernel provided macro instead.

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