staging: comedi: comedi_bond: remove boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 20 Aug 2012 19:52:41 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:27:25 +0000 (11:27 -0700)
commit90db97d5d9ce05c12f6cd2565b696a53a245e0ca
tree13f94e6e3979684121cc63d3a0b623d48f8ab51b
parentf2c8042276338f1f40ccb9e5bef77887cdb626f4
staging: comedi: comedi_bond: remove boardinfo

The only field in the boardinfo for this driver is a pointer to the
board 'name'. This field is used by the comedi core to match against
the driver when doing a legacy attach. If a driver does not have any
boardinfo, the comedi core matches against the driver name.

Since the boardinfo name and driver name are identical we can simplify
this driver a bit bu just removing the boardinfo completely.

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