]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: icp_multi: remove n_ctrs from boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 20:45:31 +0000 (13:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 21:01:55 +0000 (14:01 -0700)
commit5b93da54bf0a55fd53b96cfb1ac0ce0f8905d1e0
treea8b77367529946e1dc83d2f6bfe0f9f2a9bb096c
parent888866625c089f949d810639d62d85ab3d276c05
staging: comedi: icp_multi: remove n_ctrs from boardinfo

There is only one board type supported by this driver and the
number of counter channels is constant. Remove the boardinfo
for it and just open-code the value.

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