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: 13737249 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 08094C3DA59 for ; Fri, 19 Jul 2024 12:10:43 +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=Svgmx1goIwZYGZC88T6ddmseZZap5QnMpm/fEQm2mU0=; b=drlOiqKs5nqJZR/Kq1WBNsn9qF dVZSUzy05CdhhzY+/d5e3sNWZ8Gm1SgDu3+uYIeHEn+T4dukGMmBh48Wtvqny8IR4Z6RGEETSC8qo W4Izlv4/Xq36isMmNzg+911TXkb8bVeQckX0/koiRf2MU7hwWBBDz2vU4sKjKsZZv33aXUeC4D+B7 P4wovtTJAoo5Zz8Kr5N50mG0PYobuHx327yIPYdiKsbItRtp4/qD9PIYctSgsdqHahWbiwLBy8SO3 tVKqe2F8NDWyggqkCLY8w+K+fPi5R3Ci06ETUc5+I3kz2Um6tZmE7PqEql/m2AH59gKiRfRiOl75f Qp2QpsdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUmRV-00000002alH-1KeU; Fri, 19 Jul 2024 12:10:33 +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 1sUmQo-00000002aZN-2L0q for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 12:09:53 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240719120945euoutp023b543ae2beb997a164ae6eefa331a334~jm-s6D-Pz2403824038euoutp02O for ; Fri, 19 Jul 2024 12:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240719120945euoutp023b543ae2beb997a164ae6eefa331a334~jm-s6D-Pz2403824038euoutp02O 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> 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: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsVy+t/xu7od4bPSDDautLZ4MG8bm8X3LdeZ LNbsPcdkMe+zrMX8I+dYLc6f38BusenxNVaLy7vmsFl87j3CaDHj/D4mi4VNLewWE49NZraY +2Uqs8X/PTvYLZ487GNz4PdYM28No8fOWXfZPRbvecnksWlVJ5vHnWt72Dw2L6n36NuyitHj 8ya5AI4oPZui/NKSVIWM/OISW6VoQwsjPUNLCz0jE0s9Q2PzWCsjUyV9O5uU1JzMstQifbsE vYxrr78wFWxhq+jZfYGtgfEIaxcjJ4eEgInEygUT2bsYuTiEBJYySky+PpERIiEtcfjLFHYI W1jiz7UuNoiiZiaJ9S3LwbrZBAwkHrxZBlYkIrCcUWJzuwdIEbPALGaJ3lNTwSYJC3hKvFt+ EayIRUBV4tmF/SwgNq+AncScPc3MEBvkJXr39zGB2JwC9hK/m96ygdhCQDU7P85jg6gXlDg5 8wlYLzNQffPW2cwTGAVmIUnNQpJawMi0ilEktbQ4Nz232EivODG3uDQvXS85P3cTIzACtx37 uWUH48pXH/UOMTJxMB5ilOBgVhLh9fs2M02INyWxsiq1KD++qDQntfgQoynQ3ROZpUST84Ep IK8k3tDMwNTQxMzSwNTSzFhJnNezoCNRSCA9sSQ1OzW1ILUIpo+Jg1OqgamuxbGwZ5uXEEvb /zX5ly6HNp7g+9G5fymr6WmzfF2XvJWKDk3Np14w7G1QYlsdJx846XzKT9eXZ2cYp81eklW3 UK+Z8RZrG+9nh09dUalXLL+faPRmTdwq9DS0dPpX0xeT5medze497mrjclzizN++x6L8CQd9 DO2sCte8X3ycq1D7/db1P6znTXCbacv6OFKSqTlm8y7tw6Hn83Rr3hs9qU81mGuZcHLXOv3c mmvZU15f29x6qXhW51ZnG5c4+/d3o3euCqnadlJDsWLZtND1Ph985Nv7zdqvHP7+Y6bGf8bk /XvONvgWO6yWmTHxDFudRuG5QyX87gHfP240azNNKbZNmXBV8aN0smBeoxJLcUaioRZzUXEi ADXuk2lJAwAA 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_050951_256630_7CE1A7CD X-CRM114-Status: GOOD ( 13.41 ) 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