diff options
| author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-22 15:35:07 +0300 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2022-11-10 02:38:31 +0300 |
| commit | cd48ebc5c4f2e94830b238f035ebf04f1c3a4433 (patch) | |
| tree | dfe3aafd05032b3154e5294063f12e89abaaf4db /include/linux | |
| parent | a39a1466dae5e3ed0dd7c03334a60894e4d1f334 (diff) | |
| download | linux-cd48ebc5c4f2e94830b238f035ebf04f1c3a4433.tar.xz | |
vfio/mlx5: Switch to use module_pci_driver() macro
Since pci provides the helper macro module_pci_driver(), we may replace
the module_init/exit with it.
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220922123507.11222-1-shangxiaojing@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
