diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-05 22:36:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-06 10:40:47 +0300 |
commit | 91148dbad80bb6024389287be4aefcbf20b2d0e4 (patch) | |
tree | 270e233f716bcc9d365a85932ae4f019cfb51322 /drivers/usb/usbip/vudc.h | |
parent | c5d1653783cae7b53e2dc1a41cdc497fce83e4db (diff) | |
download | linux-91148dbad80bb6024389287be4aefcbf20b2d0e4.tar.xz |
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>
Diffstat (limited to 'drivers/usb/usbip/vudc.h')
-rw-r--r-- | drivers/usb/usbip/vudc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usbip/vudc.h b/drivers/usb/usbip/vudc.h index cf968192e59f..1bd4bc005829 100644 --- a/drivers/usb/usbip/vudc.h +++ b/drivers/usb/usbip/vudc.h @@ -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 */ |