From patchwork Tue Mar 8 08:09:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12773229 Return-Path: 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 3DFB2C433F5 for ; Tue, 8 Mar 2022 08:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To: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=JOvmivcjElQQGjykngNWYX+AjOm06n/5e8ikNiNLLyM=; b=iP6y0eX5qTxfBT arEfnkb7dYm/6fu8FBO/UwMwsEpxKRzRpg/jjk8QHz9koxwG1PYhvLa6RyzIc3cJWr+cP+RSeJWh1 Zh2u+dUQhLnX1VWl8Y/Mk/U70FpWEgxMYfF7EIhDuyRrPvCZ7ffWiZot9Q+Qgw0QmPDZ0J90LtxtI Jwtb/0EI6RpU7ZTwwas6XDuFbn1QyOVSqG7Eh+G84cFDcC62E80qZcftDvRi1xPjg0CNFCt2Q0/8s MOWvt29jk6U1PZGhQs/Sipy39DMALUoX+d30YX+AdYKkbQggQTFPULtiB63T8gmxvrX+kSfeTJYoT rfb0UD/HipCFORMRX6qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRUuO-0039wk-WC; Tue, 08 Mar 2022 08:09:29 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRUuL-0039vT-6i for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2022 08:09:26 +0000 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 99A403F61B for ; Tue, 8 Mar 2022 08:09:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646726962; bh=/d+cuTswHRfObofzKWlwwKYoIDQbzww/xiphIp91T7k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JQYDH4O/5ePgzf4QoE7pjk0iuIl01btcpLqQts5lOlIzFTU7iwAe0qGMQLl8gYFns jBE+IGdgeaOrwjMob4aSqmtFGYv4pYoCvHL9irn38IZq+kRsJlgpZ/WIxs9MZXPa2X 4B/4Gv8xBo3WkOg/0G+hhu5YINEjNTkhvfE8uPItnt83X3Hbj5a1fXX1gg7Qi2k4LM jWFEEMdVOoQjZ608wV/9mZsip8yYEB2uV998Y5kXiFOTfKn/xyRrU2LfxBXPr7mfYF 8u+I2FDbBZss+moIT8DoQ1vqySu+L6Y65FQEmzWuXJaOm5w/KVpdzu7IvORnLHa8K+ 0gnOeUbiVm+bQ== Received: by mail-ej1-f70.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so8186661ejw.9 for ; Tue, 08 Mar 2022 00:09:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/d+cuTswHRfObofzKWlwwKYoIDQbzww/xiphIp91T7k=; b=pVBzTgGlQtbA3ot6dEs4CjrpCvP79MpPKMnikEO3tU3AcH8kREebXy3viw1GTaADeC ag0gvupHQKeoZEtJg6sYkROHqsdKAk0N3w38FcBMRuBx1zDsdrIe0Avci/5MG6/mM6kH 3mr34uY/GggL4VsWXyVfACEEKLdDWgyuEPeD5gyihi6dTRb50hD0iSlXYon0iIoGERsA wobDxLJeAWP0DQzP2SCWe4WOGHXCV8fnndqeEBhWsZKuY8fSI6y7ktejs4stIjZHr5ZL elkojhT4qaxs2wMa/KnFe2JcwDF0IZsEM/iZ/Ml4fHDyWvsNfqGw+voJ41pyxkowRTHr 335Q== X-Gm-Message-State: AOAM531Wm2WuMa3JtgF114Tdb9V7YOwLd+HHxW3sJi/uWNG2B9OutN3B LVM/wrvbcwaV1RURRkbOzuIudm5cuXSXwRPCO8EJOr0lmHShQA6gfrai+dtprwwPe+nTnqpPykh lmwPkIXGA/HcNCyeX7iu7mNxOZXbPDbw8uFu8V8nsHafr9LD00GtI X-Received: by 2002:a17:906:7245:b0:6cf:d3c6:8c63 with SMTP id n5-20020a170906724500b006cfd3c68c63mr11721621ejk.677.1646726962243; Tue, 08 Mar 2022 00:09:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJPHLp6T4YFWmBiyeFGtCdgDPQn1ALmFmvSZMWVXgp434TU3oTrRtaUyzLLRSlPxfGODwAEA== X-Received: by 2002:a17:906:7245:b0:6cf:d3c6:8c63 with SMTP id n5-20020a170906724500b006cfd3c68c63mr11721608ejk.677.1646726962084; Tue, 08 Mar 2022 00:09:22 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.gmail.com with ESMTPSA id t4-20020a056402524400b00415b90801edsm7385697edd.57.2022.03.08.00.09.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 00:09:21 -0800 (PST) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Jiri Slaby , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH v3 0/8] tty: serial: samsung: minor fixes/cleanups Date: Tue, 8 Mar 2022 09:09:11 +0100 Message-Id: <20220308080919.152715-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_000925_399129_FF325BED X-CRM114-Status: UNSURE ( 9.02 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Changes since v2 ================ 1. Add review/tested tags. 2. Use dev_of_node() (Andy). 3. Split cast-removal to new patch 3 "tty: serial: samsung: reduce number of casts" (after talks with Jiri). Changes since v1 ================ 1. Patch 3: remove unneeded parenthesis and module alias change (Jiri). 2. Patch 3: move unrelated "constify" bits to patch 6. 3. Patch 5: fix typo. 4. Add review tags. Best regards, Krzysztof Krzysztof Kozlowski (8): tty: serial: samsung: embed s3c24xx_uart_info in parent structure tty: serial: samsung: embed s3c2410_uartcfg in parent structure tty: serial: samsung: reduce number of casts tty: serial: samsung: constify s3c24xx_serial_drv_data tty: serial: samsung: constify UART name tty: serial: samsung: constify s3c24xx_serial_drv_data members tty: serial: samsung: constify variables and pointers tty: serial: samsung: simplify getting OF match data drivers/tty/serial/samsung_tty.c | 225 +++++++++++++++---------------- 1 file changed, 108 insertions(+), 117 deletions(-)