]> Pileus Git - ~andy/linux/commit
staging: comedi: me4000: remove ME4000_BOARD_VERSIONS
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:38:30 +0000 (17:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:45:26 +0000 (21:45 -0700)
commit82933302306e8e7d7354a8fdfb242f33506bd892
tree1147f4e5cc47d4577f9e7c0a685c48433984126a
parent5948ae27fb4f0e87ce8543ca1934599b83929a3e
staging: comedi: me4000: remove ME4000_BOARD_VERSIONS

Remove the terminating entry in the boardinfo so that ARRAY_SIZE
works correctly. Then remove ME4000_BOARD_VERSIONS and just use
ARRAY_SIZE in the probe.

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