diff options
author | André Draszik <andre.draszik@linaro.org> | 2024-08-08 09:11:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-14 08:22:49 +0200 |
commit | ff3c62edfc4e7af94f4c960962c105b4b564e939 (patch) | |
tree | 7591b2419681036e2682620f1414ac27b8f5126b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 24179de090b973850e0359299a273683ab2e44b5 (diff) |
tty: serial: samsung_tty: cast the interrupt's void *id just once
The interrupt handler routines and helpers are casting the 'void *'
pointer to 'struct exynos_uart_port *' all over the place.
There is no need for that, we can do the casting once and keep passing
the 'struct exynos_uart_port *', simplifying the code and saving a few
lines of code.
No functional changes.
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20240808-samsung-tty-cleanup-v3-2-494412f49f4b@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions