> From: Christoph Hellwig > Sent: Tuesday, June 28, 2022 1:15 PM > > Every driver just emits a string, simply add a method to the mdev_driver > to return it and provide a standard sysfs show function. > > Remove the now unused types_attrs field in struct mdev_driver and the > support code for it. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Reviewed-by: Kirti Wankhede <kwankhede@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>