staging: comedi: pass struct comedi_driver * to comedi_auto_config()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 30 Mar 2012 16:15:02 +0000 (17:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 18:22:01 +0000 (11:22 -0700)
commit63bf3d11df34426caa81e5478b2ff0e99875e972
tree2aa20f4cf5b0daf29ebd2cf8b76e387d08be153a
parentf4011670023f28cf9081904f8986c0c1be5c9f1e
staging: comedi: pass struct comedi_driver * to comedi_auto_config()

Pass a pointer to the struct comedi_driver to comedi_auto_config()
instead of the driver name.  comedi_auto_config() will be changed to
make use of this.  It currently calls comedi_device_attach() which
examines the whole list of struct comedi_driver objects.  It will be
changed to restrict itself to just the supplied struct comedi_driver
object.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c