From: Ian Abbott Date: Fri, 14 Sep 2012 16:34:04 +0000 (+0100) Subject: staging: comedi: ni_65xx: use module_comedi_pci_driver() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e661293119cff3c726c2d1d5f646ae9a1060b10;p=pandora-kernel.git staging: comedi: ni_65xx: 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed