]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: skel: use module_comedi_pci_driver()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 1 Nov 2012 14:02:16 +0000 (14:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:46:02 +0000 (08:46 -0700)
commit3471d784848d984c0f5e30492dc376fc4c090083
tree7729e384c1cde8549875cd42caf82e5b8cbec278
parenta94d14045dec3b760caf962c76fc8c14fbee83e3
staging: comedi: skel: use module_comedi_pci_driver()

Use the `module_comedi_pci_driver()` macro to register the module as a
comedi PCI driver instead of adding the boiler-plate code in full.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/skel.c