Files
linux/drivers/staging
Ian Abbott 3faeeecbc8 staging: comedi: ni_labpc: use module_comedi_pci_driver()
Use the macro `module_comedi_pci_driver(comedi_driver, pci_driver)` to
register the module as a Comedi PCI driver if the module supports PCI
devices, otherwise use `module_comedi_driver(comedi_driver)` to register
it as an ordinary Comedi driver.  Rename variables and functions that
have prefix `driver_` for consistency.  Set the `name` member of the
`struct pci_driver` variable in its initializer instead of initializing
it in the module initialization function.

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>
2012-09-17 05:09:05 -07:00
..
2012-09-16 17:17:25 -07:00
2012-09-13 20:20:28 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-07-16 19:24:46 -07:00
2012-09-16 17:17:25 -07:00
2012-09-04 14:27:42 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-09-07 22:12:43 -07:00
2012-09-07 22:12:43 -07:00