diff options
| author | Jason Gunthorpe <[email protected]> | 2021-06-17 16:22:18 +0200 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-06-21 15:29:25 -0600 |
| commit | 681c1615f8914451cfd432ad30e2f307b6490542 (patch) | |
| tree | 9e2f349d623e950b6b0ac993d96ed74a5c6b878c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 437e41368c01fba8c220d7ca2f6b9d7fde92beee (diff) | |
vfio/mbochs: Convert to use vfio_register_group_dev()
This is straightforward conversion, the mdev_state is actually serving as
the vfio_device and we can replace all the mdev_get_drvdata()'s and the
wonky dead code with a simple container_of().
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions