Message ID | 20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E74E9C52D6F for <linux-arm-kernel@archiver.kernel.org>; Wed, 7 Aug 2024 11:59:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QvuttAjkPLAVMHVOXYUgt5mVS3UMEYPJRu5N4V28dSg=; b=PRNLZJoVrxMR5J alWuC6EmnBlZiwgvJ+fxQt8i2R5lNJn0++eQmNfbXvxopZ3T3qMqKOglAIuYIo/9rSFPfc72YwZGJ 8V6EwshfZZSCFg59Cd5WIYIaxgIOFBojyPBnez2h4DGv2finGOgBzceNrO4lRc9pyUXHnXjLB4OdM Y5iKIERy9FputOGXA+ddhzGbI4fbGE8LgvlhZ9jvLnQJpvKe6zmKLn9g287rrKXjXSjMT8ZB3hFMW 9/S4qqYNexiKb/ZsCmeH9gnmBWZxfW68ta8xSwEIX1qP/Bd2bLiE8GuC+V3os+ILBvcXKjWYFX0pC JbqHp3my5fd2SvoAUZIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbfK9-00000004w1B-413O; Wed, 07 Aug 2024 11:59:26 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbfJ6-00000004vn8-2kKv for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 11:58:22 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2f01e9f53e3so26174041fa.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 07 Aug 2024 04:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723031899; x=1723636699; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=QvuttAjkPLAVMHVOXYUgt5mVS3UMEYPJRu5N4V28dSg=; b=EsdKuJbE5W06+sQrJfN8APKUAZSzZ6LCdzdpcHa3kYvOkBicLsTrW95YpdLEmvNn49 TrsycnVZsoZ+knDtg2aycFuqyrVuJ+QareCTXiNszIH76DG0un9LABqx5czzhq27ZlM5 t/xP4EeUAqAw3R6LXOH+YOhh0CZqcU23hPqx+8HJdl6NWVbLW+D8FJ4Q/XMltXcIKF4N /obercGlZ/OSNUhQz20E3/AgQRACYW+xSisB+3YbJhSC4qgidwUKrOnNsssQahVYjVqf AITGagQKhcY7ONSsai4NNRgDfa3OxdXofS1gXDFmsy8gZyrXPc1G8Cs8DNoZauk6NyVS 1HHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723031899; x=1723636699; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QvuttAjkPLAVMHVOXYUgt5mVS3UMEYPJRu5N4V28dSg=; b=R2eeN13ShjRkWGmt3cALDarTzJFIO1uZkhtnWgufiaafXaaxEz6Xy8zzNYHjPpSowv /dsT3cUbf6dKctD73qLGfnQclLTiuTeomYLIG6kKpaFgRZDWqKRh4hSAPvE8LNFOk4Wn /HGZH+yBJGmM9hirWHUXFE6z7pW2sp+e+fXE2jtkoun97vZOTfDpMrv39XoIO/a7iQIz fRME8xNB0/idGKoCbaPiU0bhjiQlJCI+ev5N8ifnPGPwOjPO3Hq6Mt2TvNR3vknFU1oi iE6Djy2a2wG4W1CvMd2XSxVLAkLoOOCTxizT6wS4zkL4ZgvL3BsMsfc0Ch43F29JJGFy jLZQ== X-Forwarded-Encrypted: i=1; AJvYcCVWfXGKIyR7R4OKbiAiEZk8TVm+PbCb/V8U35iyIXYv+VNVMgkWsZA2cz5HuZh1CWoO5Vlze6ogbZZIQ+GHQfL9NKR9K2mRvjZZ3P+7CII9RTMaUrU= X-Gm-Message-State: AOJu0YwZwg0xI4haCfLCihPNeaS7uCmyguRNy1OpqRtdNMjZiCXOA/BW Vl6M+AXf4u7UdJFZnSJVx4Do2R7XAhgkChNykeY7wrFImCdFaDNtOhy/MJmfPELAQ1xYAsq+GOz OvVtFsw== X-Google-Smtp-Source: AGHT+IFMahW1ZeQ+4SdbQZtKjEpytqYR6C40gi+5yPvZkfOWWpUhdF1d4i/TPsvRGYmNl8byMwOdqg== X-Received: by 2002:a2e:b790:0:b0:2ef:2c3c:512a with SMTP id 38308e7fff4ca-2f15ab5cce3mr148444871fa.42.1723031898236; Wed, 07 Aug 2024 04:58:18 -0700 (PDT) Received: from puffmais.c.googlers.com (64.227.90.34.bc.googleusercontent.com. [34.90.227.64]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d45239sm631017466b.119.2024.08.07.04.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 04:58:17 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> Subject: [PATCH v2 0/2] tty: serial: samsung_tty: simple cleanups Date: Wed, 07 Aug 2024 12:58:17 +0100 Message-Id: <20240807-samsung-tty-cleanup-v2-0-1db5afc9d41b@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAFlhs2YC/32NTQqDMBBGryKz7pQk/iBd9R7iYqoTHbCJJCoV8 e5NPUCX78H3vgMiB+EIj+yAwJtE8S6BuWXQjeQGRukTg1GmULWqMNI7rm7AZdmxm5jcOqO1xLr UJZm6gLScA1v5XNWmTTxKXHzYr5NN/+z/3qZRIVV1n9PL5trycxJHwd99GKA9z/ML995HELcAA AA= To: Krzysztof Kozlowski <krzk@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org> Cc: Peter Griffin <peter.griffin@linaro.org>, Tudor Ambarus <tudor.ambarus@linaro.org>, Will McVicker <willmcvicker@google.com>, kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= <andre.draszik@linaro.org> X-Mailer: b4 0.13.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_045820_715143_7CB72930 X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
tty: serial: samsung_tty: simple cleanups
|
expand
|
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> --- 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,