dlink: dl2k: use the module_pci_driver macro
authorDevendra Naga <devendra.aaru@gmail.com>
Fri, 26 Oct 2012 09:29:00 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Oct 2012 17:56:39 +0000 (13:56 -0400)
commit9add4d8174907c9977ad29cf6e71460829ec954e
tree7c2d52ea52b91b8e1ddec3b294b97e510419e357
parent3eeb7da909d93cc290a6a7f07cff53c896618e9d
dlink: dl2k: use the module_pci_driver macro

use the module_pci_driver macro to make the code simpler
by eliminating 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/dlink/dl2k.c