]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: use ARRAY_SIZE instead of custom n_boardtypes macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 20 Apr 2012 19:05:04 +0000 (12:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2012 22:12:13 +0000 (15:12 -0700)
The n_boardtypes macros are simply open-coded versions of the kernels
ARRAY_SIZE macro. Use the kernel provided macro.

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

No differences found