diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2023-02-09 15:53:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-15 14:36:22 +0300 |
commit | 938fc645317632d79c048608689683b5437496ea (patch) | |
tree | 28ea896b9f7130eeb1cf244675fd511d5cda490d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5ec63fdbca604568890c577753c6f66c5b3ef0b5 (diff) | |
download | linux-938fc645317632d79c048608689683b5437496ea.tar.xz |
usb: gadget: u_ether: Convert prints to device prints
The USB ethernet gadget driver implements its own print macros which
call printk. Device drivers should use the device prints that print the
device name. Fortunately, the same macro names are defined in the header
file 'linux/usb/composite.h' and these use the device prints. Therefore,
remove the local definitions in the USB ethernet gadget driver and use
those in 'linux/usb/composite.h'. The only difference is that now the
device name is printed instead of the ethernet interface name.
Tested using ethernet gadget on Jetson AGX Orin.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230209125319.18589-1-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions