staging: comedi: daqboard2000: use the driver name for the resource name
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 19 Sep 2012 01:49:28 +0000 (18:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2012 08:41:45 +0000 (09:41 +0100)
commit3dc031dd21ffb8d389c329e3429888212df467aa
tree2be025687c9c971d8604a9c63dc23d218aa8897a
parent235960ed744dcd1a22d0667190758f37de9fb15a
staging: comedi: daqboard2000: use the driver name for the resource name

Use the dev->driver->driver_name instead of the literal string
for the reqource name passed to comedi_pci_enable().

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