summaryrefslogtreecommitdiffstats
path: root/lib/crc4.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-06-17 16:22:17 +0200
committerAlex Williamson <alex.williamson@redhat.com>2021-06-21 15:29:25 -0600
commit437e41368c01fba8c220d7ca2f6b9d7fde92beee (patch)
tree4763fa31926cfaa8560ac4c44a8ab40684381713 /lib/crc4.c
parent09177ac9192198bec24a81c822ebeef4197c3c8b (diff)
downloadlinux-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 'lib/crc4.c')
0 files changed, 0 insertions, 0 deletions