vfio/mdev: Remove mdev drvdata
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 11 Apr 2022 14:14:03 +0000 (16:14 +0200)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 21 Apr 2022 11:36:56 +0000 (07:36 -0400)
commit2917f53113be3b7a0f374e02cebe6d6b749366b5
treee39f34b222a574dc3cd982a37b6bcf70ae2fbbd3
parent2aa72ec97ce9eb092cb69efd26f5eb2469e61734
vfio/mdev: Remove mdev drvdata

This is no longer used, remove it.

All usages were moved over to either use container_of() from a vfio_device
or to use dev_drvdata() directly on the mdev.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-35-hch@lst.de
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
include/linux/mdev.h