diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-09-14 17:34:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-17 05:09:04 -0700 |
| commit | b4c9a598a7d858bbb845b9b4067c065f63abc10a (patch) | |
| tree | f26fd30b1c7534405b5739c2907ecb34f6ce3535 /tools/perf/scripts/python | |
| parent | a8adadee9427e23fe7513fc214fe29f7307e7aa1 (diff) | |
staging: comedi: ni_660x: 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. 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
