vfio/fsl-mc: Use module_fsl_mc_driver macro to simplify the code
authorLi Zetao <lizetao1@huawei.com>
Wed, 9 Aug 2023 13:15:36 +0000 (21:15 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 16 Aug 2023 17:14:15 +0000 (11:14 -0600)
commit6c092088fad4767420ed475de679942463f02707
tree7ec2c0c92d091e2421bb15d16145fcde42a4542b
parentd7955ce40e109d195ae2cfd0f782c5749eeb0cc7
vfio/fsl-mc: Use module_fsl_mc_driver macro to simplify the code

Use the module_fsl_mc_driver macro to simplify the code and
remove redundant initialization owner in vfio_fsl_mc_driver.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230809131536.4021639-1-lizetao1@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/fsl-mc/vfio_fsl_mc.c