net/ethernet/qlogic/qlge/qlge_main: Use module_pci_driver to register driver
authorPeter Hüwe <PeterHuewe@gmx.de>
Tue, 21 May 2013 12:58:08 +0000 (12:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:35:04 +0000 (14:35 -0700)
commit70a611debe964ae508d67528d82ca7fa0715f5a3
treed7da3947754d6070a08de137b902bd726e5b1162
parente0fc4441f98e19d8120f2a385c9e75bc55369b81
net/ethernet/qlogic/qlge/qlge_main: 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c