[PATCH v2 0/2] tty: serial: samsung_tty: simple cleanups
André Draszik
andre.draszik at linaro.org
Wed Aug 7 04:58:17 PDT 2024
While looking through the samsung tty driver, I've spotted a few things that
can be simplified by removing unused function arguments and by avoiding some
duplicated variables and casting.
There are no functional changes here.
Signed-off-by: André Draszik <andre.draszik at linaro.org>
---
Changes in v2:
- fix -Wdiscarded-qualifiers warnings
- collect tags
- Link to v1: https://lore.kernel.org/r/20240806-samsung-tty-cleanup-v1-0-a68d3abf31fe@linaro.org
---
André Draszik (2):
tty: serial: samsung_tty: drop unused argument to irq handlers
tty: serial: samsung_tty: cast the interrupt's void *id just once
drivers/tty/serial/samsung_tty.c | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
---
base-commit: 1e391b34f6aa043c7afa40a2103163a0ef06d179
change-id: 20240806-samsung-tty-cleanup-ffae1515a284
Best regards,
--
André Draszik <andre.draszik at linaro.org>
More information about the linux-arm-kernel
mailing list