From: H Hartley Sweeten Date: Fri, 11 May 2012 23:16:20 +0000 (-0700) Subject: staging: comedi: Use module_comedi_pci_driver and standardize drivers X-Git-Tag: v3.5-rc1~145^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e6301baa78b2dff00e2cc3051301c32618acd7;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed