commit | 75498aa1aff5dfed0124557dfa0b6b2906b14fa6 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Mar 28 12:51:55 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 29 14:36:33 2018 -0400 |
tree | 782d76f22f98d123dd5a349bb99db3784830a9be | |
parent | 335ab8ba617ec5bdc0c1595aae875304277e2495 [diff] |
net: cavium: 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. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>