diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-09-12 19:56:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-09-18 11:14:42 +0200 |
| commit | 4678de73932f8f3b835ff3cda76825ed53d4f6b7 (patch) | |
| tree | acc5c2f81ec893db2ac5d8095b32ae162c7abe49 /tools/perf/scripts/python | |
| parent | e8bbaeac25503aaaf215e9cc4b278890e043410b (diff) | |
| download | kernel-4678de73932f8f3b835ff3cda76825ed53d4f6b7.tar.gz | |
serial: 8250_of: Use dev_err_probe() instead of dev_warn()
The probe process may generate EPROBE_DEFER. In this case
dev_err_probe() can still record err information. Otherwise
it may pollute logs on that occasion.
This also helps simplifing code and standardizing the error output.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230912165607.402580-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
