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