From: H Hartley Sweeten Date: Fri, 20 Apr 2012 19:05:04 +0000 (-0700) Subject: staging: comedi: use ARRAY_SIZE instead of custom n_boardtypes macros X-Git-Tag: v3.5-rc1~145^2~229^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542038f4df5a9d5d806a4af8725d2d21c4423a15;p=pandora-kernel.git staging: comedi: use ARRAY_SIZE instead of custom n_boardtypes macros 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 Cc: Ian Abbott Cc: Frank Mori Hess Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed