]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
USB: usbip: convert platform driver to use dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2019 19:36:35 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Aug 2019 07:40:47 +0000 (09:40 +0200)
commit91148dbad80bb6024389287be4aefcbf20b2d0e4
tree270e233f716bcc9d365a85932ae4f019cfb51322
parentc5d1653783cae7b53e2dc1a41cdc497fce83e4db
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>
drivers/usb/usbip/vudc.h
drivers/usb/usbip/vudc_dev.c
drivers/usb/usbip/vudc_main.c
drivers/usb/usbip/vudc_sysfs.c