aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2024-01-18 10:22:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 19:05:04 -0800
commit5d888f1c32e2281843d58eef963e3ebd625b77a9 (patch)
tree594df7640ab7a633a2eb6ffa94d82098f82140b7 /tools/perf/scripts/python
parentserial: max310x: use separate regmap name for each port (diff)
downloadlinux-5d888f1c32e2281843d58eef963e3ebd625b77a9.tar.gz
linux-5d888f1c32e2281843d58eef963e3ebd625b77a9.zip
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 <andy.shevchenko@gmail.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20240118152213.2644269-10-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions