]> git.karo-electronics.de Git - linux-beck.git/commit
uio/uio_netx: Use module_pci_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 20:47:43 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:10:41 +0000 (10:10 -0700)
commitb59f9a0533110f236a15bbbf81a2b7a7bffa8ed4
tree5712bddfd884b4de5e9d631ea97874a9205fb074
parent8bcaec4ee2451937278aab5a655739ad73f25de6
uio/uio_netx: 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_netx.c