]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_670x: remove n_ni_670x_boards macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 30 Jun 2012 00:37:25 +0000 (17:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:46:05 +0000 (15:46 -0700)
commit2be036653663f809d1034d365f8285a967e589da
treef5ddbd6570cf69f324aeeffb26448afbd2569fdc
parent289a40339149300c42308afd917a5c9dbbc9bcd9
staging: comedi: ni_670x: remove n_ni_670x_boards macro

This macro is simply the ARRAY_SIZE() of the boardinfo. Just use
the ARRAY_SIZE and remove the macro.

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