staging: comedi: mite: remove list of devices
authorIan Abbott <abbotti@mev.co.uk>
Fri, 14 Sep 2012 16:34:34 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 12:09:10 +0000 (05:09 -0700)
commit551e2c3cf7733ac141768fc6cbdb05d6633d08a6
tree0ec3be713e313878e14572c4b1966f20a9c7a593
parenta5cf79e3ace423360126a4eeb5089c19c99ae060
staging: comedi: mite: remove list of devices

All the drivers that use the "mite" module now allocate a `struct
mite_struct` dynamically instead of searching the `mite_devices` list
populated during initialization of the "mite" module.

Remove the list of devices and the function that prints available NI
devices on the list (`mite_list_devices()`).  The list node and `used`
members in `struct mite_struct` are now redundant, so remove them.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mite.c
drivers/staging/comedi/drivers/mite.h