[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org>
Date: Wed, 07 Aug 2024 12:58:17 +0100
From: André Draszik <andre.draszik@...aro.org>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>
Cc: Peter Griffin <peter.griffin@...aro.org>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Will McVicker <willmcvicker@...gle.com>, kernel-team@...roid.com,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
André Draszik <andre.draszik@...aro.org>
Subject: [PATCH v2 0/2] tty: serial: samsung_tty: simple cleanups
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@...aro.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@...aro.org>
Powered by blists - more mailing lists