diff options
| author | Hugo Villeneuve <[email protected]> | 2024-01-18 10:22:05 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 19:05:04 -0800 |
| commit | 5d888f1c32e2281843d58eef963e3ebd625b77a9 (patch) | |
| tree | 594df7640ab7a633a2eb6ffa94d82098f82140b7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 609aabb259d497578ffa2d66ced57c22044f821c (diff) | |
serial: max310x: simplify probe() and remove() error handling
Simplify error handling and only call uart_remove_one_port() if line bit
is set, instead of having to manually set s->p[i].port.dev to NULL.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hugo Villeneuve <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions