realtek: r8169: use module_pci_driver macro
authorDevendra Naga <devendra.aaru@gmail.com>
Fri, 26 Oct 2012 09:27:42 +0000 (09:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Oct 2012 17:56:39 +0000 (13:56 -0400)
commit3eeb7da909d93cc290a6a7f07cff53c896618e9d
treec3f94f6f29f8aed66877078d137d730424fb71e7
parent157083811c933fc223a3193d319c7ac805f30bb7
realtek: r8169: use module_pci_driver macro

use the module_pci_driver macro to make the code simpler
by eliminating the module_init and module_exit calls

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c