From patchwork Wed Aug 7 08:48:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 13756014 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 E7990C3DA7F for ; Wed, 7 Aug 2024 08:50:28 +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=K2loWXQI7fSsnHRhLRhM+3yTxg lX1LfU+sIZyyL55PrVD3gIxAokIbAjZQRX35Xbme1nYgkokHgvV0KfaZun9jNzhoZgFPaR7PEG2DX XPic7m7PW8G8FQ3rYBW8n4TDRKsSo6yx0O9NQmNFu9uWTX1Vm13VmIU2rd/EDqcOp1+g/6Rqnqp+0 jKUcfu6lyhjpVWH+HiSSiRANOfUpzdiyEFUcwn6YpeV82WtEvZB46dyYYtjU30/bMexowCXr79h3o Zdl4tDeDE8wL4hQght02fgWuGIXHxLzXz5i8Y6Y44qbUYnxwdQNXkLJm7oAZwDKtWv8kqzX+NLlZl vF+Hb5tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcN6-00000004R5t-2FpT; Wed, 07 Aug 2024 08:50:16 +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 1sbcM3-00000004Qpc-087j for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 08:49:12 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240807084909euoutp021b1ba96169c57ad3e6b65fb867bab53c~pZg_k-KVv3165231652euoutp02S for ; Wed, 7 Aug 2024 08:49:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240807084909euoutp021b1ba96169c57ad3e6b65fb867bab53c~pZg_k-KVv3165231652euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1723020549; bh=yj+6WZo4Jh1Ovyod4LsdDGfLEkdyiOxcrU/H1erGQ2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kA20FZQz+1+QoF/RH07cKUO5pEIsqZEC1XjBnpKTU3lWLU6RCZUBtYHXEZgb0bz5n Nkx1JWNf+RgdNKkB2N9XgzdIP2sf1V1GwZyrCcYlEcknsciE89oMx35GAnAmP/1MOh /oPidou/rBtq4jIwrch79heZ6AsvBmcBQvH+3iFQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240807084909eucas1p1d463dbd9ead83fabf04376b5018fb323~pZg_LcMxE2890828908eucas1p1z; Wed, 7 Aug 2024 08:49:09 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id C7.02.09624.50533B66; Wed, 7 Aug 2024 09:49:09 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240807084908eucas1p29e812ce79d4ec06427bc699321dec3a7~pZg9yLD-o2798127981eucas1p2R; Wed, 7 Aug 2024 08:49:08 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240807084908eusmtrp2bdd511b9a98ee75fd2361c7af6827957~pZg9xaURk2292322923eusmtrp2i; Wed, 7 Aug 2024 08:49:08 +0000 (GMT) X-AuditID: cbfec7f2-c11ff70000002598-19-66b335053e6a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D4.DC.09010.40533B66; Wed, 7 Aug 2024 09:49:08 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240807084908eusmtip2ae4fb7d14ed3e5bb642bc123124fc43b~pZg84rafV1786617866eusmtip22; Wed, 7 Aug 2024 08:49:07 +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 v3 1/6] drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS Date: Wed, 7 Aug 2024 10:48:20 +0200 Message-ID: <20240807084829.1037303-2-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240807084829.1037303-1-m.majewski2@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLKsWRmVeSWpSXmKPExsWy7djP87qsppvTDP5tELZ4MG8bm8X3LdeZ LNbsPcdkMe+zrMX8I+dYLc6f38BusenxNVaLy7vmsFl87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3Bc6f0jwLDj78E3/T+MTxSGTC9NS+LX351U+fH5TyWW 4oxEQy3mouJEAFukBFNRAwAA X-CMS-MailID: 20240807084908eucas1p29e812ce79d4ec06427bc699321dec3a7 X-Msg-Generator: CA X-RootMTR: 20240807084908eucas1p29e812ce79d4ec06427bc699321dec3a7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240807084908eucas1p29e812ce79d4ec06427bc699321dec3a7 References: <20240807084829.1037303-1-m.majewski2@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_014911_354426_3C5EDE37 X-CRM114-Status: GOOD ( 13.26 ) 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