diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-11 23:16:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 20:49:49 (GMT) |
commit | 75e6301baa78b2dff00e2cc3051301c32618acd7 (patch) | |
tree | bc3c781e25ca6f27e60350e69cf23039edef04ba /drivers/staging/wlags49_h2 | |
parent | d4899c6ff86ea9836c89250cb2127aa64765b35a (diff) | |
download | linux-fsl-qoriq-75e6301baa78b2dff00e2cc3051301c32618acd7.tar.xz |
staging: comedi: Use module_comedi_pci_driver and standardize drivers
Convert the refactored comedi pci drivers to use the
module_comedi_pci_driver() macro which makes the code
smaller and a bit simpler.
In the process, rename some of the symbols in the driver
to standardize the comedi pci drivers.
Based on the driver {name}:
1) Rename the comedi_driver to {name}_driver.
2) Use a static string {name} for the comedi_driver.driver_name.
3) Rename the pci probe/remove functions to {name)_pci_probe/remove.
4) Rename the pci id_table to {name}_pci_table.
5) Add the static string {name} for the pci_driver.name.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2')
0 files changed, 0 insertions, 0 deletions