diff options
| author | Li Zetao <[email protected]> | 2023-08-03 11:23:53 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-03 09:51:46 +0200 |
| commit | 220965d15cef417a6d6ecfbd41c64d582522f48c (patch) | |
| tree | 2b72b4fa939ec5f11224c5417f980c208b20e772 /tools/perf/scripts/python | |
| parent | 8a76d8b0751239bab10547dfb0fb3d2612bcc48a (diff) | |
tty: serial: Remove redundant initialization for ma35d1serial_driver
There is a warning reported by coccinelle:
./drivers/tty/serial/ma35d1_serial.c:791: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 ma35d1serial_driver statement.
Remove it to silence the warning.
Signed-off-by: Li Zetao <[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')
0 files changed, 0 insertions, 0 deletions