diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-17 16:22:17 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-06-21 15:29:25 -0600 |
commit | 437e41368c01fba8c220d7ca2f6b9d7fde92beee (patch) | |
tree | 4763fa31926cfaa8560ac4c44a8ab40684381713 /net/can/Makefile | |
parent | 09177ac9192198bec24a81c822ebeef4197c3c8b (diff) | |
download | linux-stable-437e41368c01fba8c220d7ca2f6b9d7fde92beee.tar.gz linux-stable-437e41368c01fba8c220d7ca2f6b9d7fde92beee.tar.bz2 linux-stable-437e41368c01fba8c220d7ca2f6b9d7fde92beee.zip |
vfio/mdpy: 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 <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210617142218.1877096-10-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'net/can/Makefile')
0 files changed, 0 insertions, 0 deletions