mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] tty: serial: samsung_tty: simple cleanups
@ 2024-08-06 15:29 André Draszik
  2024-08-06 15:29 ` [PATCH 1/2] tty: serial: samsung_tty: drop unused argument to irq handlers André Draszik
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: André Draszik @ 2024-08-06 15:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Alim Akhtar, Greg Kroah-Hartman, Jiri Slaby
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	linux-arm-kernel, linux-samsung-soc, linux-kernel, linux-serial,
	André Draszik

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@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 | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)
---
base-commit: 1e391b34f6aa043c7afa40a2103163a0ef06d179
change-id: 20240806-samsung-tty-cleanup-ffae1515a284

Best regards,
-- 
André Draszik <andre.draszik@linaro.org>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-08-09  7:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-06 15:29 [PATCH 0/2] tty: serial: samsung_tty: simple cleanups André Draszik
2024-08-06 15:29 ` [PATCH 1/2] tty: serial: samsung_tty: drop unused argument to irq handlers André Draszik
2024-08-07 10:49   ` Tudor Ambarus
2024-08-06 15:29 ` [PATCH 2/2] tty: serial: samsung_tty: cast the interrupt's void *id just once André Draszik
2024-08-07 10:49   ` Tudor Ambarus
2024-08-09  7:01   ` kernel test robot
2024-08-09  7:21   ` kernel test robot
2024-08-07 11:09 ` [PATCH 0/2] tty: serial: samsung_tty: simple cleanups Greg Kroah-Hartman
2024-08-07 11:17   ` André Draszik
2024-08-07 12:00   ` André Draszik
2024-08-07 13:53     ` Tudor Ambarus
2024-08-07 13:58       ` André Draszik
2024-08-08  7:23         ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®