[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240806-samsung-tty-cleanup-v1-0-a68d3abf31fe@linaro.org>
Date: Tue, 06 Aug 2024 16:29:44 +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 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>
---
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@...aro.org>
Powered by blists - more mailing lists