diff options
author | 2023-12-01 10:29:50 -0800 | |
---|---|---|
committer | 2023-12-04 22:28:19 +0900 | |
commit | c2d95fcff0f01fa00d9683dddeeea6732b74c779 (patch) | |
tree | f5482365f3127be06f1064eded362576daeadb0c /include/linux/usb.h | |
parent | usb: gadget: f_tcm: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() (diff) | |
download | wireguard-linux-c2d95fcff0f01fa00d9683dddeeea6732b74c779.tar.xz wireguard-linux-c2d95fcff0f01fa00d9683dddeeea6732b74c779.zip |
usb: core: Don't force USB generic_subclass drivers to define probe()
There's no real reason that subclassed USB drivers _need_ to define
probe() since they might want to subclass for some other reason. Make
it optional to define probe() if we're a generic_subclass.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20231201102946.v2.1.I7ea0dd55ee2acdb48b0e6d28c1a704ab2c29206f@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions