vme: vme_tsi148.c: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Oct 2012 15:12:50 +0000 (23:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 19:02:11 +0000 (12:02 -0700)
commit01c071439730013cc110dd321852b44432cf496c
tree5ab757bc707b2b509dba632cf7c64845670c13d9
parentc7b50a2a29451f9a6ec6bc7fd4c8ad836297ffc4
vme: vme_tsi148.c: 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/vme/bridges/vme_tsi148.c