From patchwork Fri Jul 19 12:08:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Majewski X-Patchwork-Id: 813600 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 B7CAA74079 for ; Fri, 19 Jul 2024 12:09:53 +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=1721390995; cv=none; b=WAiEjmglNu35PxPm8vrGqjWuqTTZ2cdOIUx3KFIBMBtlxd/B8CJaXNh2ciDtrt8uhZIBD4yWD3+pGCzK4WnARfZJIBZX+DYI0Ag7+gfpCRTSMUGWlYn/S/tVVOYABBPVZo4EO5MZQ/aLuhiNZCu9XHDwEkqa+U33e/FytiLE80A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721390995; c=relaxed/simple; bh=t/JSKrNn17xxIU0XVqXg8T1CfhnUWQvG/4vnPaJ/u6E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=Qy6tpKRMeHCzM3dAl0lqUH7PDC6Ck6Fw2X//PUjh1HwQQimmQ1ixt9OdaBXxD1eXA/6ogc1OEKCGdoG2xVwruUeAFO8mWnxD2Tz2d6cQALYR4d7vQ6f9NaEnLGiKq1mr8+yiN5JZugOv33JG54kiC5JHRYXFPXhze+1v8WxLCrk= 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=Cd5m33Ur; 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="Cd5m33Ur" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240719120945euoutp0132eed8e0eb7f5ad06e579637b58a8618~jm-s6TZLQ1022610226euoutp01b for ; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240719120945euoutp0132eed8e0eb7f5ad06e579637b58a8618~jm-s6TZLQ1022610226euoutp01b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1721390985; bh=Svgmx1goIwZYGZC88T6ddmseZZap5QnMpm/fEQm2mU0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cd5m33UrTllO1IykgZrSf8z/PNuN3Mdj2zxyr+x2JZ6BbDCQQbvcnTk0w2usn0Y/7 mkJLWtJ40R+ObNoRBAlaUe0dwqNnvO1n0J2CgDVjEX8H2CacoXif5fvi46NT1j5GIx nJCP92Ir3LhXdV6V5oJmZy8V96qM/HH9qwVW7SVk= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240719120945eucas1p18a7f1898ccd162a60573634690512da1~jm-sj5mT62653726537eucas1p1v; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 1C.8A.09875.9875A966; Fri, 19 Jul 2024 13:09:45 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240719120945eucas1p2aa5e35f78daa7ec1ea07f512180db468~jm-sGu_fh2595125951eucas1p2d; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240719120945eusmtrp13e13d84c71a9fa89688122967f81d207~jm-sFw1W60596405964eusmtrp1T; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) X-AuditID: cbfec7f4-11bff70000002693-c0-669a578993b4 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 62.EF.09010.8875A966; Fri, 19 Jul 2024 13:09:44 +0100 (BST) Received: from AMDC4515.eu.corp.samsungelectronics.net (unknown [106.120.51.28]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240719120944eusmtip10862f3e2f568be4fee49910d243a5f0d~jm-rVInij1193511935eusmtip1S; Fri, 19 Jul 2024 12:09:44 +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 Subject: [PATCH 1/6] drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS Date: Fri, 19 Jul 2024 14:08:45 +0200 Message-ID: <20240719120853.1924771-2-m.majewski2@samsung.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240719120853.1924771-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+NgFjrKKsWRmVeSWpSXmKPExsWy7djPc7qd4bPSDLrmils8mLeNzeL7lutM Fmv2nmOymPdZ1mL+kXOsFufPb2C32PT4GqvF5V1z2Cw+9x5htJhxfh+TxcKmFnaLiccmM1vM /TKV2eL/nh3sFk8e9rE58HusmbeG0WPnrLvsHov3vGTy2LSqk83jzrU9bB6bl9R79G1Zxejx eZNcAEcUl01Kak5mWWqRvl0CV8a111+YCrawVfTsvsDWwHiEtYuRk0NCwETiytm77F2MXBxC AisYJS6e6GOEcL4wShx72cgM4XxmlNjS18AI07JywUSoluWMEq/OdEBVtTJJnF/+mQ2kik3A QOLBm2VgVSICixklGn+8YwVxmAUmMUscXLMQbL2wgKfEu+UX2UFsFgFViWcX9rOA2LwCdhJz 9jQzQ+yTl+jd38cEYnMK2Ev8bnrLBlEjKHFy5hOwemagmuats8HOkBBo55R48uw50LEcQI6L xJGdYRBzhCVeHd/CDmHLSJye3MMCYedLzNj8ngWivELi7kEvCNNa4uMZZhCTWUBTYv0ufYhi R4nFu6YyQVTwSdx4Kwixn09i0rbpzBBhXomONiGIalWJ43smQb0hLfGk5TYThO0hseref/YJ jIqzkHwyC8knsxD2LmBkXsUonlpanJueWmyUl1quV5yYW1yal66XnJ+7iRGY0k7/O/5lB+Py Vx/1DjEycTAeYpTgYFYS4fX7NjNNiDclsbIqtSg/vqg0J7X4EKM0B4uSOK9qinyqkEB6Yklq dmpqQWoRTJaJg1OqganlydTl3QUL4ty1XnbOOufHVLZ+rbVT6al49Q1tO913hQSXaz9PnL5N 9ixLS2nG8Rv77F2FA1ja67jVbpl9rFJ/IKgqrq18fYmOpvIpt8xglSUrHYQ1vj3sjHme9epk 7ffF7npZTJ06lRt9nnI+eLzhk7Wh4n3e3KVMV59WyS449vu5sXnW6r73Wr2LLRYr+GwvnrFo 5okoG5n1E2oWTUuKTcuJbq7bzHy2OuqIndBuW3vGn09/sn9e+2niugmb5p/mvvLT3ue54kxl h5ytX1eyfTncWm3w0jJU821NsF97peIvM9vNSU82WG742zZvZa8N3409l45s4Ra9GPjlX31g zbzET48fcNYf2M+35pISS3FGoqEWc1FxIgCUFNFg2AMAAA== X-Brightmail-Tracker: H4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A X-CMS-MailID: 20240719120945eucas1p2aa5e35f78daa7ec1ea07f512180db468 X-Msg-Generator: CA X-RootMTR: 20240719120945eucas1p2aa5e35f78daa7ec1ea07f512180db468 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240719120945eucas1p2aa5e35f78daa7ec1ea07f512180db468 References: <20240719120853.1924771-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