diff options
| author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2024-01-18 10:22:07 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-27 19:05:04 -0800 |
| commit | e16b9c8ca378e44b92edd95743f6f0160ce616e7 (patch) | |
| tree | b1b59cb6845b4aa52ba964e42fc225880380896d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | serial: max310x: add explicit return for some switch default cases (diff) | |
| download | linux-e16b9c8ca378e44b92edd95743f6f0160ce616e7.tar.gz linux-e16b9c8ca378e44b92edd95743f6f0160ce616e7.zip | |
serial: max310x: use dev_err_probe() instead of dev_err()
Replace dev_err() with dev_err_probe().
This helps in simplifing code and standardizing the error output.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20240118152213.2644269-12-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
