diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-23 11:42:04 -0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-08-25 12:43:46 -0600 |
commit | eb0feefd4c025b2697464d141f7ff178095f34df (patch) | |
tree | eb9655cd2e7b6e8d578f94e0113e2db6f5a787c6 /drivers/vfio/platform | |
parent | 86956e70761b3292156d668e87126844334dd71b (diff) | |
download | linux-eb0feefd4c025b2697464d141f7ff178095f34df.tar.bz2 |
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 'drivers/vfio/platform')
0 files changed, 0 insertions, 0 deletions