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)
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>

No differences found