diff options
| author | Douglas Anderson <[email protected]> | 2023-12-01 18:29:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-04 13:28:19 +0000 |
| commit | c2d95fcff0f01fa00d9683dddeeea6732b74c779 (patch) | |
| tree | f5482365f3127be06f1064eded362576daeadb0c /drivers/usb/core/generic.c | |
| parent | usb: gadget: f_tcm: Remove snprintf() from sysfs call-backs and replace with ... (diff) | |
| download | kernel-c2d95fcff0f01fa00d9683dddeeea6732b74c779.tar.gz kernel-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 <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Reviewed-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/20231201102946.v2.1.I7ea0dd55ee2acdb48b0e6d28c1a704ab2c29206f@changeid
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/generic.c')
0 files changed, 0 insertions, 0 deletions
