On 6/14/2022 10:24 AM, Christoph Hellwig wrote:
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: Kirti Wankhede <kwankhede@xxxxxxxxxx>