aboutsummaryrefslogtreecommitdiff
path: root/drivers/vfio/pci
diff options
context:
space:
mode:
authorGravatar Jason Gunthorpe <jgg@nvidia.com> 2021-03-30 09:53:06 -0600
committerGravatar Alex Williamson <alex.williamson@redhat.com> 2021-04-06 11:55:10 -0600
commit0ca78666fa06cf2a7d068a593428dc4039706e00 (patch)
tree481c2800facae51354cdbed2fd23dfb6933de0d4 /drivers/vfio/pci
parentvfio/fsl-mc: Re-order vfio_fsl_mc_probe() (diff)
downloadlinux-0ca78666fa06cf2a7d068a593428dc4039706e00.tar.gz
linux-0ca78666fa06cf2a7d068a593428dc4039706e00.tar.bz2
linux-0ca78666fa06cf2a7d068a593428dc4039706e00.zip
vfio/fsl-mc: Use vfio_init/register/unregister_group_dev
fsl-mc already allocates a struct vfio_fsl_mc_device with exactly the same lifetime as vfio_device, switch to the new API and embed vfio_device in vfio_fsl_mc_device. While here remove the devm usage for the vdev, this code is clean and doesn't need devm. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Message-Id: <6-v3-225de1400dfc+4e074-vfio1_jgg@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci')
0 files changed, 0 insertions, 0 deletions