]> Pileus Git - ~andy/linux/commit
ksz884x: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 7 Nov 2012 02:54:30 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2012 00:01:21 +0000 (19:01 -0500)
commit85894866bcc396162906c0b95c0eadd00c13efbd
tree704582e93f1d1953e388a4c1cc01070eee4d874d
parent55c11941e382cb26010138ab824216f47af37606
ksz884x: use module_pci_driver to simplify the code

Use the module_pci_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ksz884x.c