]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uwb/whci: Use module_pci_driver to register driver
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 20 May 2013 20:51:17 +0000 (22:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:48:03 +0000 (11:48 -0700)
commitc0c6e079497f850759e64f28f39a5a2d350dc230
tree71c6b10ede790b24611fc00353165bf865821c22
parent47ac5b6e406642801b9854179df111d1cbbb0b59
uwb/whci: 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/uwb/whci.c