summaryrefslogtreecommitdiff
path: root/lib/test_parman.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-08-23 17:42:04 +0300
committerAlex Williamson <alex.williamson@redhat.com>2021-08-25 21:43:46 +0300
commiteb0feefd4c025b2697464d141f7ff178095f34df (patch)
treeeb9655cd2e7b6e8d578f94e0113e2db6f5a787c6 /lib/test_parman.c
parent86956e70761b3292156d668e87126844334dd71b (diff)
downloadlinux-eb0feefd4c025b2697464d141f7ff178095f34df.tar.xz
vfio/ap_ops: Convert to use vfio_register_group_dev()
This is straightforward conversion, the ap_matrix_mdev is actually serving as the vfio_device and we can replace all the mdev_get_drvdata()'s with a simple container_of() or a dev_get_drvdata() for sysfs paths. Cc: Alex Williamson <alex.williamson@redhat.com> Cc: Cornelia Huck <cohuck@redhat.com> Cc: kvm@vger.kernel.org Cc: Christoph Hellwig <hch@lst.de> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/0-v4-0203a4ab0596+f7-vfio_ap_jgg@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions