Message ID | 20231003111638.241542-3-m.majewski2@samsung.com (mailing list archive) |
---|---|
State | New, archived |
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 45EBDE7544C for <linux-arm-kernel@archiver.kernel.org>; Tue, 3 Oct 2023 11:17:43 +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:References:MIME-Version:In-Reply-To: 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: List-Owner; bh=q0N1FZKqwfXd0h/ccMGi0G0afRhHGxio+lw7NOGf5vE=; b=Trbz//jxIpic3K X4ZkIcQ964wI6EEbxcB+YjqTxGJ65bEgjTaSDCjz0JWxgPY/AeB4IH3xWg+VQ6aSe3tCLS7Hii2ac oXpSwUYewnU81T+g1f3bjrrjIYTIa2JKUmewyqKk6yQsCeqzEQNqmhZSDtfMA/7sXqacKlAeJohQP T1ZgpzAU/QpOeTnzJF7vIZLbvAVPq3RsU6+vDiDTqowF8tW8ZjJ/DttaFaF1D0wLnTzy8gp5ifNNa /dIbgqjBSyd4IOgZmjHm0y17Zh6vQwYGsUPhEgvTKx2XArBGYhjvKMA7F2B0pn8MxqyzuzJwr5SoF u9FnOoQn6Zycagd829AQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qndOu-00EVqy-0m; Tue, 03 Oct 2023 11:17:16 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qndOp-00EVoA-0q for linux-arm-kernel@lists.infradead.org; Tue, 03 Oct 2023 11:17:13 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20231003111708euoutp01b80491c2f8c373401ec656a5fd1b7962~KlM9eT7C01141711417euoutp01r for <linux-arm-kernel@lists.infradead.org>; Tue, 3 Oct 2023 11:17:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20231003111708euoutp01b80491c2f8c373401ec656a5fd1b7962~KlM9eT7C01141711417euoutp01r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1696331828; bh=kSlZRZZZYwokLKnnMzMRsCX62Vw++ZxZSxihVjzwQk8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e9nTjyjEsWcfq5YU3eeOaRkq/emOlob2QHSE7dfzeXHh0Fpb6y1gZKaOXsGKSdaW7 zkE7Jv/43KniY/sl5mMZoVhOteBXADxfkBxXVKGJj0pgCN3a5jU4INwsz/3exgFifI GwPNOvGckgisoITeW6ANTTQdlvDdoKlVSRCn5S94= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20231003111707eucas1p23d6471359956640c696157b700f7a153~KlM88kgCg2468224682eucas1p2x; Tue, 3 Oct 2023 11:17:07 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 33.14.11320.338FB156; Tue, 3 Oct 2023 12:17:07 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20231003111707eucas1p2ec2e5eacf68ecb0610f74ca1105c9da4~KlM8ipCRZ2873428734eucas1p2H; Tue, 3 Oct 2023 11:17:07 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231003111707eusmtrp196e15560308b447fc108fda720121c06~KlM8iBcL52239722397eusmtrp13; Tue, 3 Oct 2023 11:17:07 +0000 (GMT) X-AuditID: cbfec7f4-993ff70000022c38-32-651bf833bedd Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5A.CE.25043.238FB156; Tue, 3 Oct 2023 12:17:06 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231003111706eusmtip21caa2dee1934b1182cdd7a7e8413b514~KlM7vX00_2730527305eusmtip2c; Tue, 3 Oct 2023 11:17:06 +0000 (GMT) From: Mateusz Majewski <m.majewski2@samsung.com> To: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Mateusz Majewski <m.majewski2@samsung.com>, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, Alim Akhtar <alim.akhtar@samsung.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Marek Szyprowski <m.szyprowski@samsung.com> Subject: [PATCH v3 2/8] thermal: exynos: drop id field Date: Tue, 3 Oct 2023 13:16:28 +0200 Message-ID: <20231003111638.241542-3-m.majewski2@samsung.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231003111638.241542-1-m.majewski2@samsung.com> MIME-Version: 1.0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LO/x2Lrz3IsV+5l1H juLrob0vPbcam5s8P+IS/n3h7vdpAf8zl2xXn1/rUDvn4qSsHbNEi4Ra1n8pabr5e1JGxRrb ly++Vlt4rjtg0DdBw3rl9biUZye2vqz4IqExZ96jnprcxSy/SidfUmIpzkg01GIuKk4EAB8K PHZBAwAA X-CMS-MailID: 20231003111707eucas1p2ec2e5eacf68ecb0610f74ca1105c9da4 X-Msg-Generator: CA X-RootMTR: 20231003111707eucas1p2ec2e5eacf68ecb0610f74ca1105c9da4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20231003111707eucas1p2ec2e5eacf68ecb0610f74ca1105c9da4 References: <20231003111638.241542-1-m.majewski2@samsung.com> <CGME20231003111707eucas1p2ec2e5eacf68ecb0610f74ca1105c9da4@eucas1p2.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231003_041711_564701_7CC07D06 X-CRM114-Status: GOOD ( 15.37 ) 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> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 |
Improve Exynos thermal driver
|
expand
|
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 2c1cfb8c4b33..90c33e8017af 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -138,7 +138,6 @@ enum soc_type { /** * struct exynos_tmu_data : A structure to hold the private data of the TMU * driver - * @id: identifier of the one instance of the TMU controller. * @base: base address of the single instance of the TMU controller. * @base_second: base address of the common registers of the TMU controller. * @irq: irq number of the TMU controller. @@ -172,7 +171,6 @@ enum soc_type { * @tmu_clear_irqs: SoC specific TMU interrupts clearing method */ struct exynos_tmu_data { - int id; void __iomem *base; void __iomem *base_second; int irq; @@ -865,10 +863,6 @@ static int exynos_map_dt_data(struct platform_device *pdev) if (!data || !pdev->dev.of_node) return -ENODEV; - data->id = of_alias_get_id(pdev->dev.of_node, "tmuctrl"); - if (data->id < 0) - data->id = 0; - data->irq = irq_of_parse_and_map(pdev->dev.of_node, 0); if (data->irq <= 0) { dev_err(&pdev->dev, "failed to get IRQ\n");