diff options
| author | Li Zetao <[email protected]> | 2023-08-03 11:28:38 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 14:46:40 +0200 |
| commit | 98d6db05eda86ce50c84dcf29dcc9de0e9f8f140 (patch) | |
| tree | 16aa8087a0c305b27e56437952504b16090bde75 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | ebcf774671da8b4985f61af11fd67ef74ffd48cf (diff) | |
usb: gadget: udc: Remove redundant initialization for udc_driver
There is a warning reported by coccinelle:
./drivers/usb/gadget/udc/renesas_usbf.c:3381:3-8:
No need to set .owner here. The core will do it.
The module_platform_driver() will set "THIS_MODULE" to driver.owner
when register a driver for platform-level devices, so it is redundant
initialization to set driver.owner in udc_driver statement. Remove it
to silence the warning.
Signed-off-by: Li Zetao <[email protected]>
Acked-by: Herve Codina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions