From patchwork Wed Sep 11 12:11:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 13800327 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 6B52C1885A3 for ; Wed, 11 Sep 2024 12:11:55 +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=1726056718; cv=none; b=d+TxTMfao59vvjE7jgd2fhR/567HTsi+7+SksLg8i1ig72/RCLpjXy5ygGFcoFC2B683ZkxkxFNMbyNM2kmHZ4BaWIm+jk3RKnDa4ZHbNIozdpK0Jpepl1ZRkNg+DaAaoEuB8OZaVLXxYtnxNXBRcyLGQEXYBl8MNmJIf/c/rCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726056718; c=relaxed/simple; bh=hwopkNPUqoevD6Cga6bxVg0ViqRZN33dDe39k+TX+PI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=kl+Hms6xTGUWMCaOnNdgP1v8TKGAgYBXTdI0HtjjjuDfODc3r9i84Nx6HOeqASy2so0UDJWwMIe1k9NVbKOwTk2sKaBiDPshxfiFuQYUM0cNwK4kxswOERR1IbZP7eptxCUwIT+Tu/0VwnEv6iwV9ONxtE9k3Tzf45vXOHeqtes= 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=d7HMvBtx; 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="d7HMvBtx" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240911121153euoutp01b4e328b201508bd9aa5c5ffa9a0257f4~0L2_e29vh0903909039euoutp01Y for ; Wed, 11 Sep 2024 12:11:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240911121153euoutp01b4e328b201508bd9aa5c5ffa9a0257f4~0L2_e29vh0903909039euoutp01Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1726056713; bh=0qS1OvBnHT+CBCcVEJwR8UDgglfjE/IHE9VpcHMT5q0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d7HMvBtxIcZ3C+y3lLcfV/va2lV7cZdWaTnDlXu+CAwnJhvZ8uYhqcszX8rzG72KD XyquQ2EC5i8+BjqGL3vDnz92dDr1tWGq+oWKigfsTQ4nllYsXkT8vFSoDTNi5j1tIT mcnL0rTWHYXinyNeZdnqK1WqBuNOMP2V3xqTEsLQ= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20240911121153eucas1p2761935111876fbc6971ecfcbedd26222~0L29635n41736617366eucas1p2x; Wed, 11 Sep 2024 12:11:53 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id F3.D1.09624.80981E66; Wed, 11 Sep 2024 13:11:52 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240911121152eucas1p113445ce1ce6b6bd9c8f96322604bf517~0L29bZq2r1386613866eucas1p1o; Wed, 11 Sep 2024 12:11:52 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240911121152eusmtrp299c699f697c3da3f8e1f2ee01298cafd~0L29aaIrr2708727087eusmtrp2g; Wed, 11 Sep 2024 12:11:52 +0000 (GMT) X-AuditID: cbfec7f2-c11ff70000002598-91-66e18908d101 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 1A.4D.19096.80981E66; Wed, 11 Sep 2024 13:11:52 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240911121151eusmtip1b27d9ec62e0b7c209798e6802c626127~0L28gF1KN0847908479eusmtip1h; Wed, 11 Sep 2024 12:11:51 +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 , Marek Szyprowski Subject: [PATCH v4 1/7] drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS Date: Wed, 11 Sep 2024 14:11:24 +0200 Message-ID: <20240911121136.1120026-2-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240911121136.1120026-1-m.majewski2@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMKsWRmVeSWpSXmKPExsWy7djPc7ocnQ/TDBbdsLR4MG8bm8X3LdeZ LNbsPcd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FHq/7vz6IQA aTEDO4k+Rv7eWeL5E4x3Pu10qlsf/XLdKXM77SpNnjlRM52+hLz5+n2P5TWnfbnfqv+EPSg0 Zn2ZosRSnJFoqMVcVJwIACaeMpxYAwAA X-CMS-MailID: 20240911121152eucas1p113445ce1ce6b6bd9c8f96322604bf517 X-Msg-Generator: CA X-RootMTR: 20240911121152eucas1p113445ce1ce6b6bd9c8f96322604bf517 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240911121152eucas1p113445ce1ce6b6bd9c8f96322604bf517 References: <20240911121136.1120026-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