]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/amso1100: Use module_pci_driver() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 10 Oct 2012 13:10:43 +0000 (13:10 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 15 Feb 2013 23:16:10 +0000 (15:16 -0800)
commit8ab10f75372fc59b95d96af40b9a3b4c2a0da059
tree89cee4729dc03e270312e58720676a5ec027f009
parent836dc9e3fbbab0c30aa6e664417225f5c1fb1c39
RDMA/amso1100: 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>
Reviewed-by: Steve WIse <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/amso1100/c2.c