uio/uio_sercos3: Use module_pci_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 20:47:44 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:10:41 +0000 (10:10 -0700)
commit8bcaec4ee2451937278aab5a655739ad73f25de6
tree68c2715056b783599df3f5760b7f524ae8a80138
parentaa8c06f7c9471f5722faa14ec8b887989de1226d
uio/uio_sercos3: Use module_pci_driver to register driver

Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_sercos3.c