net/ethernet/dec/tulip/xircom_cb: Use module_pci_driver to register driver
authorPeter Hüwe <PeterHuewe@gmx.de>
Tue, 21 May 2013 12:42:11 +0000 (12:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:35:03 +0000 (14:35 -0700)
commit31d60ebfbe6792068e8951741f92f40bdea97837
tree3f2e8ab2f232370c2b6b3bfd46844726a6f38bdb
parent52a58f9df12ab03bda432b398a4bdfcc9ed2b414
net/ethernet/dec/tulip/xircom_cb: 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>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/xircom_cb.c