vme: vme_vmivme7805.c: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Oct 2012 15:15:05 +0000 (23:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 19:02:10 +0000 (12:02 -0700)
commit5f1e7790963f03c5789070b3954f38d038ad528b
treeefa26d86107d35d3b89ef984373c1e319c719ccf
parent4f72b738b1c8a9502a297f998b83ffae0815024b
vme: vme_vmivme7805.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/boards/vme_vmivme7805.c