uio/uio_aec: Use module_pci_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 20:47:41 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:10:41 +0000 (10:10 -0700)
commitaa8c06f7c9471f5722faa14ec8b887989de1226d
treef0dafaba2152131ceb9f6938d54c82d8ebf5b1a0
parent9db5c9088f741a7e83310a6a459793c25079c636
uio/uio_aec: 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_aec.c