Staging: ipack/bridges/tpci200: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Oct 2012 15:18:46 +0000 (23:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Oct 2012 18:45:35 +0000 (11:45 -0700)
commit1bc7c1c71d7f84baff254868222312bf14915128
tree7236823f8b1df2036579746ad474140a5a2f6312
parent58b2c0ca0bd16ddefd1d981fe8748ca8083294c6
Staging: ipack/bridges/tpci200: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/carriers/tpci200.c