Message ID | 20231025133027.524152-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 59B8BC0032E for <linux-arm-kernel@archiver.kernel.org>; Wed, 25 Oct 2023 13:31:32 +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=ByRDsJmn2w5j+m+W0ClXAE9Xc3dSSKMHFm0k27vw8a4=; b=R1eTvHWWGWAOiY Yp5tfpzRRPnpcm4DSMz4C3um1FFr98yJLqbgi6wybyHpz+YHBQHYhFvO9/5xoloRBCwVh0ktgwffa dRu7v5TB5zjKJeMR54ZCcC1jIAhkbtD0szp13IfhmrD6vF4MFdQGtQBh5hX1oSL4ngneH5xHN2KFu OW4KRaeWRxvDALhw3cmuqAP9BfviEurIX5NiRliXqd8wgDJ+DYcIhLR70IKtBE3OkkXaLDTX2kG6X +hiiqDXDrIrsQ2FneKkBQhbx9+aG3283NVgAG9/RYObhCLxumLIxYEAMJiYtgwAZiNHqkXcOMnc68 ipp28kVALpnBaJieB9SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvdyN-00CPDf-0L; Wed, 25 Oct 2023 13:30:59 +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 1qvdyG-00CPAH-0m for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 13:30:53 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20231025133050euoutp01155e652ab1298e44c520da6a6683e424~RXN-UcK-F0110001100euoutp01M for <linux-arm-kernel@lists.infradead.org>; Wed, 25 Oct 2023 13:30:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20231025133050euoutp01155e652ab1298e44c520da6a6683e424~RXN-UcK-F0110001100euoutp01M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1698240650; bh=7/6FemRmnMZSvOrVZ5Dgthh/u/9EWRsMZanz4+6xfv0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ASJDuyeOtJHmKHcLeIDV0z2BIPUPgCGYhxZcq0tbsB+PDRmKhT5+cdk6WATbbl/CE l7x4qm9Jr7hpJUQ5VTF+dDBaihIwILPARlQI3/hP/XyKmyjJUMVqt2UaPg9CFwU/Q2 YJVmi7RnvIHpxOoOcz2+HzbxXy9DUmQhdPFGphSw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20231025133050eucas1p1fb11806b8605d2603dcf2bfe6c8d4dc1~RXN_nXEJm1383513835eucas1p1h; Wed, 25 Oct 2023 13:30:50 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 17.0B.37758.A8819356; Wed, 25 Oct 2023 14:30:50 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20231025133049eucas1p11f9c4dc6d235418175c94340ad15f5a7~RXN_GZW081436614366eucas1p1f; Wed, 25 Oct 2023 13:30:49 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231025133049eusmtrp12281dbeb629fdd771180328bf20b9b5a~RXN_FpG1C0853808538eusmtrp1i; Wed, 25 Oct 2023 13:30:49 +0000 (GMT) X-AuditID: cbfec7f5-7ffff7000002937e-4b-6539188ade45 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id ED.98.10549.98819356; Wed, 25 Oct 2023 14:30:49 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231025133048eusmtip26bd5f7522c50974cc574acd1083a3e46~RXN9OFLFq1156911569eusmtip2j; Wed, 25 Oct 2023 13:30:48 +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>, Lukasz Luba <lukasz.luba@arm.com> Subject: [PATCH v4 2/8] thermal: exynos: drop id field Date: Wed, 25 Oct 2023 15:30:21 +0200 Message-ID: <20231025133027.524152-3-m.majewski2@samsung.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025133027.524152-1-m.majewski2@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOKsWRmVeSWpSXmKPExsWy7djP87pdEpapBteuslo8mLeNzeLw/AqL qQ+fsFl833KdyWLeZ1mLva+3slt8u9LBZLHp8TVWi8u75rBZfO49wmgx4/w+JouFTS3sFhOP TWa2WHvkLrvF3C9TmS2ePOxjcxDwWDNvDaPHzll32T0W73nJ5LFpVSebx51re9g8Ni+p9+jb sorR4/MmuQCOKC6blNSczLLUIn27BK6MrtNvmAom8VQc/z2LpYHxE2cXIyeHhICJxMR5l1i6 GLk4hARWMEr0ffoF5XxhlJi2Zh0rhPOZUeLF89XsMC2zJs5kBbGFBJYzSmzfYQ5R1MoksX3y KxaQBJuAgcSDN8vAGkQEWhklZjapgxQxC3xllrj6ej4zSEJYwEzi4oKVTCA2i4CqxPI9r4Bs Dg5eAVuJBadiIZbJS+xZ9B2shFPATqL3+HU2EJtXQFDi5MwnYLuYgWqat85mBpkvIdDPKXFl 72omiGYXif87j7BA2MISr45vgfpARuL05B6oeL7EjM3vWUD2SghUSNw96AVhWkt8PMMMYjIL aEqs36UPUewo0fj8LytEBZ/EjbeCEAfwSUzaNp0ZIswr0dEmBFGtKnF8zyRmCFta4knLbaiz PCS+dK5knMCoOAvJK7OQvDILYe8CRuZVjOKppcW56anFxnmp5XrFibnFpXnpesn5uZsYgWnt 9L/jX3cwrnj1Ue8QIxMH4yFGCQ5mJRHeSB+LVCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8qiny qUIC6YklqdmpqQWpRTBZJg5OqQYmprrefkeXtTPKozoUtZdWT7Vd8sBeaEXimiwDRjYmt93S sX9m3JfKmn9gl9D3h1Od9wcue32/4UiUaSaX2Y7yxadtpR6m+Ds/uhGXckvukNRvnl8zBKV5 fa9PSWI4m7Vyp/VsrwR953PqiTXrzzhITznI06akdd8lsvPVrGTjsPMFTbV7Nha/Xnl8YTHD 1fZXsxbaqTr0f560cmPgvjnz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1+90ug8AnG/6GmOZOc8h7XvHWs9s7L22z 1krNGWlnuL2r1PreiLpn3359dImyX+XSwxWxTg/qFi620okwnlMiUrQi4X/qyX1s+41kkkV7 t9pVzbmZ/ua5/rt397eJRu5ITE/crai1JrIuvvxyg07Mj4uHCpTS+Dey/ZDYtXNatBJLcUai oRZzUXEiALIlgTxMAwAA X-CMS-MailID: 20231025133049eucas1p11f9c4dc6d235418175c94340ad15f5a7 X-Msg-Generator: CA X-RootMTR: 20231025133049eucas1p11f9c4dc6d235418175c94340ad15f5a7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20231025133049eucas1p11f9c4dc6d235418175c94340ad15f5a7 References: <20231025133027.524152-1-m.majewski2@samsung.com> <CGME20231025133049eucas1p11f9c4dc6d235418175c94340ad15f5a7@eucas1p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231025_063052_547011_BC9551CF X-CRM114-Status: GOOD ( 15.29 ) 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 187086658e8f..4ff32245d2a9 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");