From patchwork Fri Jul 26 11:01:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 13742591 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 05E67C3DA49 for ; Fri, 26 Jul 2024 11:02:41 +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:References:Content-Type: Content-Transfer-Encoding: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=yj+6WZo4Jh1Ovyod4LsdDGfLEkdyiOxcrU/H1erGQ2c=; b=rXDWsdLFpcOGO2ZbXRu2XsFmUZ uzqEVXDT8UVLRL8vGgc2RjyUN32DJZh+71rRI8D/KcZmEPtH3XOcW8+o2Mh2rVS7s8gkUjEkHKR8O Looa6lvdbUMpaCahLOZlpG+79dNKet9p55ehPJPSERPAKjosSUVfdAuXWEa+uYDdjGL3CGY6ssDuv ILPJDHDD0IfRRtgjMgrFtobgOYAMnV3sMJU0d1uz/c8KDJF93VD0I2jnG2VE/x/5YIxwlukQZq4/F aS9S11RT6hlMikP+ZAlgerEtZ1bSBMUuqnI5L4szHRAVIkVsVROh3wCA0ZcAN7/5tADvIzUOUZoXL nFhTiivQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXIiS-00000003coh-0f9p; Fri, 26 Jul 2024 11:02:28 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXIhh-00000003cc1-16KJ for linux-arm-kernel@lists.infradead.org; Fri, 26 Jul 2024 11:01:42 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240726110136euoutp021abd55ef38167ff37dbaa69cb9056841~lvlL6xKH-0258202582euoutp02a for ; Fri, 26 Jul 2024 11:01:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240726110136euoutp021abd55ef38167ff37dbaa69cb9056841~lvlL6xKH-0258202582euoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1721991696; bh=yj+6WZo4Jh1Ovyod4LsdDGfLEkdyiOxcrU/H1erGQ2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WuebpcVaZpEhBsXuX4L9GF9ljrcQvIGv+A+xxLZB+vvnS3kaLRUjMVs+tj9K2kLxH dwRh7aRPfm2fbrFzIQIX6IilhuR3p/YFCulGHXjEYSuuCSiGtzEMhwSj6N5dma8fEm 5txJw4Jm9DKj5I9gWwDhTPzvE+1Yw/sN3x6uVcxc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20240726110135eucas1p2f440c6f19de370858c5b3edd8bd530d7~lvlLfnYJ12816328163eucas1p24; Fri, 26 Jul 2024 11:01:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id D3.C8.09875.F0283A66; Fri, 26 Jul 2024 12:01:35 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240726110135eucas1p118620038792bd07154f32f7b95f48326~lvlLI2pis1393813938eucas1p1y; Fri, 26 Jul 2024 11:01:35 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240726110135eusmtrp27822bfa3b67deacdf4b7e23184051d2b~lvlLIJp5H1722117221eusmtrp2W; Fri, 26 Jul 2024 11:01:35 +0000 (GMT) X-AuditID: cbfec7f4-131ff70000002693-ae-66a3820f53dd Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 00.27.08810.F0283A66; Fri, 26 Jul 2024 12:01:35 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240726110134eusmtip2073c6e21bbffe2d00530a31abf252afa~lvlKQNE-H2468524685eusmtip2Q; Fri, 26 Jul 2024 11:01:34 +0000 (GMT) From: Mateusz Majewski To: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Mateusz Majewski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Sam Protsenko , Anand Moon Subject: [PATCH v2 1/6] drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS Date: Fri, 26 Jul 2024 13:01:05 +0200 Message-ID: <20240726110114.1509733-2-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240726110114.1509733-1-m.majewski2@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDKsWRmVeSWpSXmKPExsWy7djP87r8TYvTDDa/ULV4MG8bm8X3LdeZ LNbsPcdkMe+zrMX8I+dYLc6f38BusenxNVaLy7vmsFl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Jk4JyXT/deMKn7hmx8o/zIe8TPjm7gz+vP6c1z4WRubi1s+yoU27g9V6 QjOXK7EUZyQaajEXFScCADPq7qtPAwAA X-CMS-MailID: 20240726110135eucas1p118620038792bd07154f32f7b95f48326 X-Msg-Generator: CA X-RootMTR: 20240726110135eucas1p118620038792bd07154f32f7b95f48326 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240726110135eucas1p118620038792bd07154f32f7b95f48326 References: <20240726110114.1509733-1-m.majewski2@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240726_040141_588744_5AE68474 X-CRM114-Status: GOOD ( 13.09 ) 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 SIMPLE_DEV_PM_OPS is deprecated, as noted next to its definition. Signed-off-by: Mateusz Majewski Reviewed-by: Sam Protsenko --- drivers/thermal/samsung/exynos_tmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 96cffb2c44ba..9b7ca93a72f1 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -1150,8 +1150,8 @@ static int exynos_tmu_resume(struct device *dev) return 0; } -static SIMPLE_DEV_PM_OPS(exynos_tmu_pm, - exynos_tmu_suspend, exynos_tmu_resume); +static DEFINE_SIMPLE_DEV_PM_OPS(exynos_tmu_pm, + exynos_tmu_suspend, exynos_tmu_resume); #define EXYNOS_TMU_PM (&exynos_tmu_pm) #else #define EXYNOS_TMU_PM NULL