> From: Christoph Hellwig > Sent: Tuesday, June 14, 2022 12:54 PM > > From: Jason Gunthorpe <jgg@xxxxxxxxxx> > > Every driver just emits a static string, simply feed it through the ops > and provide a standard sysfs show function. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>, with one nit: > /** > * struct mdev_driver - Mediated device driver > + * @device_api: String to return for the device_api sysfs > * @probe: called when new device created > * @remove: called when device removed > * @types_attrs: attributes to the type kobjects. > * @driver: device driver structure > **/ Use same indent here.