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: 13756017 X-Patchwork-Delegate: daniel.lezcano@linaro.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 626951CB326 for ; Wed, 7 Aug 2024 08:49:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723020553; cv=none; b=EBcRIII2zQMjkr1O8p4/RGXbC+8xCLEBDZ06K0cUTKVBlpN3e4za8KIBZBZ46hbEItPJfPzu9dYxCbl9rfEwtXiz3AMN95kFhDXfsqkahnTpvSIJEi0rPESQEbq3AJDpMeQA755p8GQXqp0tke1WT42EOfG5sIGVYU+LQ2Jnd84= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723020553; c=relaxed/simple; bh=G8SGnQGahIJiAKPyeQeKvQveyR8NwK/8b3eWpshYTq4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=MOE/5BsYlT7IL56z8eCZOKRgpccH0RhR0ta8QBPKVHjjuD0I2aDHvnbyf0BsOBqr5ooS3yq05SnQmfJEClTR5YbhKyBtothukfxgTLLO2siBE6EYUqm3edejR8Cbm8Hv+Y2nitbZqO5NRDLcDeconN8RLTuAsQNMMirew4U5+5A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=kA20FZQz; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="kA20FZQz" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240807084909euoutp01845ff8c12c7eaf66a0e683c7285575cf~pZg_o1Uf01585615856euoutp012 for ; Wed, 7 Aug 2024 08:49:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240807084909euoutp01845ff8c12c7eaf66a0e683c7285575cf~pZg_o1Uf01585615856euoutp012 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> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLKsWRmVeSWpSXmKPExsWy7djP87qsppvTDP5tELZ4MG8bm8X3LdeZ LNbsPcdkMe+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ZT mb7WtnpR6o9g1qf8VfK6bJnT7klKH3Bc6f0jwLDj78E3/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> 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