diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-30 18:53:06 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-04-06 20:55:10 +0300 |
commit | cb6164586814bbe41f55559ae5505d8373d6f781 (patch) | |
tree | 9f1e036b825daf5f1c98c6f4e0aa4a2d51bf01d7 /drivers/vfio/fsl-mc | |
parent | 0bfc6a4ea63c2adac71a824397ef48f28dbc5e47 (diff) | |
download | linux-cb6164586814bbe41f55559ae5505d8373d6f781.tar.xz |
vfio/platform: Use vfio_init/register/unregister_group_dev
platform already allocates a struct vfio_platform_device with exactly
the same lifetime as vfio_device, switch to the new API and embed
vfio_device in vfio_platform_device.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <4-v3-225de1400dfc+4e074-vfio1_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/fsl-mc')
0 files changed, 0 insertions, 0 deletions