net/ethernet/amd/amd8111e: Use module_pci_driver to register driver
authorPeter Hüwe <PeterHuewe@gmx.de>
Tue, 21 May 2013 12:58:10 +0000 (12:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 21:35:05 +0000 (14:35 -0700)
commita46e6ccdd1cd557cbb9a24022ee027d09a4bd625
treefe7b6db5a9b2269ec4ae64106ef29b2826c213cd
parent5119ad0b7388641815bad0bacdc5133532d24685
net/ethernet/amd/amd8111e: 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/amd/amd8111e.c