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: 814731 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 45220176240 for ; Fri, 26 Jul 2024 11:01:43 +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=1721991704; cv=none; b=O+c9QktrXoqWDx51LeNBfu2wXSfUUHMlKsv9W/Ead1CVbixCnHonVXJZUlCoUjVB4CvIM3nJ6hmxx+Ir5edE1F9yqNp7HfKu6KewUJGvY0xviDpv98trIRPhSushRjnj5Vi+/PMeOn59jiq/s5W5W0Ir5h8cMhZ1Rx62webnh0Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721991704; c=relaxed/simple; bh=G8SGnQGahIJiAKPyeQeKvQveyR8NwK/8b3eWpshYTq4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=hitYAktu7YHlPiDTAUXgHTb4sYJWjfrBwzn9dG9LoE7Kwx+4i8gUmPuwvt/OvFGyzxyeokVwqQWQFuuIHGKP4LkHq5riHBeeQ02bhCVv4Mnlq2Zo1dw8eyGSblmOC66gA2neGuNvJmShNciao43MNIGjgHo+kHsGUU3SHC48a6w= 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=WuebpcVa; 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="WuebpcVa" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240726110136euoutp01e910f80fa97b894ea191aaca6fbf01f7~lvlL7VSRa3068530685euoutp01d for ; Fri, 26 Jul 2024 11:01:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240726110136euoutp01e910f80fa97b894ea191aaca6fbf01f7~lvlL7VSRa3068530685euoutp01d 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> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDKsWRmVeSWpSXmKPExsWy7djP87r8TYvTDDa/ULV4MG8bm8X3LdeZ LNbsPcdkMe+zrMX8I+dYLc6f38BusenxN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zNTYV3Npg0Jk4JyXT/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> 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