path: root/Documentation/driver-api
diff options
authorJason Gunthorpe <>2021-03-30 09:53:08 -0600
committerAlex Williamson <>2021-04-06 11:55:11 -0600
commit1e04ec14204dec28131855d8dd160c3d55d12797 (patch)
tree0ae87bd70d23e8429d98b9af52e4241436276bbc /Documentation/driver-api
parent07d47b4222d5d1cd933f01587dda00398d8daf40 (diff)
vfio: Remove device_data from the vfio bus driver API
There are no longer any users, so it can go away. Everything is using container_of now. Reviewed-by: Christoph Hellwig <> Reviewed-by: Kevin Tian <> Reviewed-by: Cornelia Huck <> Reviewed-by: Max Gurtovoy <> Signed-off-by: Jason Gunthorpe <> Message-Id: <> Signed-off-by: Alex Williamson <>
Diffstat (limited to 'Documentation/driver-api')
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/driver-api/vfio.rst b/Documentation/driver-api/vfio.rst
index 3337f337293a..decc68cb8114 100644
--- a/Documentation/driver-api/vfio.rst
+++ b/Documentation/driver-api/vfio.rst
@@ -254,8 +254,7 @@ vfio_unregister_group_dev() respectively::
void vfio_init_group_dev(struct vfio_device *device,
struct device *dev,
- const struct vfio_device_ops *ops,
- void *device_data);
+ const struct vfio_device_ops *ops);
int vfio_register_group_dev(struct vfio_device *device);
void vfio_unregister_group_dev(struct vfio_device *device);