net/ethernet/sgi/ioc3-eth: Use module_pci_driver to register driver
authorPeter Hüwe <PeterHuewe@gmx.de>
Tue, 21 May 2013 12:58:07 +0000 (12:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:35:04 +0000 (14:35 -0700)
commite0fc4441f98e19d8120f2a385c9e75bc55369b81
treef23eaac628917c071d1db5545270c2049e2a2aa3
parent8dbb0dc2cb16096efe998c576170e41dc6e8b64f
net/ethernet/sgi/ioc3-eth: 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/sgi/ioc3-eth.c