staging: comedi: cb_pcidas: use the driver_name for the resource name
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 01:02:40 +0000 (18:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:53 +0000 (15:23 -0700)
commit0a5aed487645b13531b876775c1390afd20296a5
tree95a34e151666707f86ba5cddb1be8bc75346bc63
parentb8ac8c63429e8b354067e3dcaa549dc0b53be5d4
staging: comedi: cb_pcidas: use the driver_name for the resource name

Use the dev->driver->driver_name for the resource name passed
to pci_request_regions(), by way of comedi_pci_enable(), and
to request_irq() instead of the open coded "cb_pcidas".

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