vfio/mdev: Remove mdev_parent_ops
[linux-block.git] / drivers / s390 / cio / vfio_ccw_ops.c
index d8589afac272f1bc4ae7b6bd9436c8a8b28351d4..c4d60cdbf247bfeecd7d8039448a2f1d92ba2268 100644 (file)
@@ -656,17 +656,12 @@ struct mdev_driver vfio_ccw_mdev_driver = {
        },
        .probe = vfio_ccw_mdev_probe,
        .remove = vfio_ccw_mdev_remove,
-};
-
-static const struct mdev_parent_ops vfio_ccw_mdev_ops = {
-       .owner                  = THIS_MODULE,
-       .device_driver          = &vfio_ccw_mdev_driver,
        .supported_type_groups  = mdev_type_groups,
 };
 
 int vfio_ccw_mdev_reg(struct subchannel *sch)
 {
-       return mdev_register_device(&sch->dev, &vfio_ccw_mdev_ops);
+       return mdev_register_device(&sch->dev, &vfio_ccw_mdev_driver);
 }
 
 void vfio_ccw_mdev_unreg(struct subchannel *sch)