USB: usbip: convert platform driver to use dev_groups
Platform drivers now have the option to have the platform core create and remove any needed sysfs attribute files. So take advantage of that and do not register "by hand" any sysfs files. Cc: Valentina Manea <valentina.manea.m@gmail.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20190805193636.25560-5-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -115,7 +115,7 @@ struct vudc_device {
|
||||
struct list_head dev_entry;
|
||||
};
|
||||
|
||||
extern const struct attribute_group vudc_attr_group;
|
||||
extern const struct attribute_group *vudc_groups[];
|
||||
|
||||
/* visible everywhere */
|
||||
|
||||
|
Reference in New Issue
Block a user