From patchwork Mon Sep 18 08:09:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141684 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3118543vqi; Mon, 18 Sep 2023 21:07:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1CCcGDN7WbpqnxgskbzanZVTa6iru26FwqJc0pnooX/kHfBO4Rm14P3XQ8Mir42NSVb0d X-Received: by 2002:a05:6870:df47:b0:1d6:ef37:9416 with SMTP id ur7-20020a056870df4700b001d6ef379416mr5166229oab.22.1695096478026; Mon, 18 Sep 2023 21:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695096477; cv=none; d=google.com; s=arc-20160816; b=Dg3IARx9CuR8gFDLcWZ/JUu+OZEVxVN8mtgIbGAXCmWeF3UWzTUs6ayquQDMkphRzT 0AlvKl97kHFzuKP55JJJSBKkBkjl1CmdTqII1IWnbc3TEsR3h+f3GF2zmpJdOIo1V9HP Uujep4BiUFT2Uu6z8g5u8OuO5KYTOeCQP+UJbj+z6vobx3ObHs49n6LLzI5vdwRTsvcF uwBbgEmLZj7zL6oq45UQmaT9xhpxrqYIIM5JInxRSdlZeDiVkfk5ftzKsAVXxaJMaLst Tr2S0/hLg90MRwjr3UQ3BnVSfWvsSkERUMhgrhmnQ6zW9ZCRBBRp4KOTfuZkKYZce11N UWOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=FvnzrIIzjNma4uWJhM8xpBEHI/gl4jQeipxNRP+Tbw0=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=XA/h9YAXYKQsaX1qCnKaX1d1U8AvX/MgTwAfN/scw0FhHyt8EEN6DTYq2PbSTnmTQH zraPjXpRk/OtHPBfQ8fqne54xy0X+ZcJXJMB8UCPMDnXVHu7fmNgjdEfwwSz+a6Eaxw6 tmL9pdDdNL+7gvuhzeZUp1Ga5Jh4KQAI4+29l/i8N1SwzPCGDcCnvM9b+NLwyAX+6Ls4 XHH7L+bDbNvLgvlYYuUuC0lxdiw+6xJJsz8+E7hhJstLUPPMLjLbmJ050Wq65LbjtntB vcrKm7afdd5GbdC/kPtiuPMrmEidDD9srGBwaCAyfFZxDk5Rr6DdCDW8RqmcH+17BPjw gOWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AeJUesqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id e7-20020a17090ac20700b0027465340295si9205186pjt.60.2023.09.18.21.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 21:07:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AeJUesqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6A68880758F6; Mon, 18 Sep 2023 01:11:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240626AbjIRIK5 (ORCPT + 27 others); Mon, 18 Sep 2023 04:10:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240550AbjIRIKd (ORCPT ); Mon, 18 Sep 2023 04:10:33 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8AA99; Mon, 18 Sep 2023 01:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024628; x=1726560628; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=nzvv6eDUMuWEVi9A5kctA5+LBLiff1ltxVOjQscs/XM=; b=AeJUesqPUvyew1vBIkkIburP6BnZUNqWtQFngTPU12rBaCQyhdGsQZjd 6ZS6uj+96NUnKUaSfTPsZ6OqAAx+6CD8+82zF0+iHosYtNN8j8o/HrNBG Ayk1XUo4BB2QKOPY5TXKV1AVduDIaa4dohh5p09G0K3UKoBMNXJwQtg9x ye5Nd2ktF1UGyVkrz3IC26aMi1z/cJNlFU8IlMtcYmlOMj5jK8wsyMYpy k5qSYuuD00TqLg2XmzzUzVo/Fe5kI4x6C1V/90+jino6Lj2NOLBcFulNS gubJpHdSKQAttlYg/zWCV4xDHxqYEPXJqOPi0o8u9AIzU1e5/zRYNrowF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410550864" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410550864" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:10:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442273" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442273" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:19 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 01/10] PM: Introduce export macros for _SIMPLE_ variants of _PM_OPS() Date: Mon, 18 Sep 2023 13:39:42 +0530 Message-Id: <20230918080951.3615-2-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:11:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777437484305535143 X-GMAIL-MSGID: 1777437484305535143 Introduce a new set of export macros for _SIMPLE_ variants of _PM_OPS(), which export dev_pm_ops symbol only in case CONFIG_PM_SLEEP=y and discard it otherwise. Fixes: 34e1ed189fab ("PM: Improve EXPORT_*_DEV_PM_OPS macros") Signed-off-by: Raag Jadav --- include/linux/pm.h | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 1400c37b29c7..6e7ab6950ad1 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -374,24 +374,39 @@ const struct dev_pm_ops name = { \ RUNTIME_PM_OPS(runtime_suspend_fn, runtime_resume_fn, idle_fn) \ } -#ifdef CONFIG_PM -#define _EXPORT_DEV_PM_OPS(name, license, ns) \ +#define _EXPORT_PM_OPS(name, license, ns) \ const struct dev_pm_ops name; \ __EXPORT_SYMBOL(name, license, ns); \ const struct dev_pm_ops name -#define EXPORT_PM_FN_GPL(name) EXPORT_SYMBOL_GPL(name) -#define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, ns) -#else -#define _EXPORT_DEV_PM_OPS(name, license, ns) \ + +#define _PM_OPS(name, license, ns) \ static __maybe_unused const struct dev_pm_ops __static_##name + +#ifdef CONFIG_PM +#define _EXPORT_RUNTIME_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) +#define EXPORT_PM_FN_GPL(name) EXPORT_SYMBOL_GPL(name) +#define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, ns) +#else +#define _EXPORT_RUNTIME_PM_OPS(name, license, ns) _PM_OPS(name, license, ns) #define EXPORT_PM_FN_GPL(name) #define EXPORT_PM_FN_NS_GPL(name, ns) #endif -#define EXPORT_DEV_PM_OPS(name) _EXPORT_DEV_PM_OPS(name, "", "") -#define EXPORT_GPL_DEV_PM_OPS(name) _EXPORT_DEV_PM_OPS(name, "GPL", "") -#define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "", #ns) -#define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "GPL", #ns) +#ifdef CONFIG_PM_SLEEP +#define _EXPORT_SIMPLE_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) +#else +#define _EXPORT_SIMPLE_PM_OPS(name, license, ns) _PM_OPS(name, license, ns) +#endif + +#define EXPORT_DEV_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "", "") +#define EXPORT_GPL_DEV_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "GPL", "") +#define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "", #ns) +#define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "GPL", #ns) + +#define EXPORT_SIMPLE_PM_OPS(name) _EXPORT_SIMPLE_PM_OPS(name, "", "") +#define EXPORT_GPL_SIMPLE_PM_OPS(name) _EXPORT_SIMPLE_PM_OPS(name, "GPL", "") +#define EXPORT_NS_SIMPLE_PM_OPS(name, ns) _EXPORT_SIMPLE_PM_OPS(name, "", #ns) +#define EXPORT_NS_GPL_SIMPLE_PM_OPS(name, ns) _EXPORT_SIMPLE_PM_OPS(name, "GPL", #ns) /* * Use this if you want to use the same suspend and resume callbacks for suspend @@ -404,19 +419,19 @@ const struct dev_pm_ops name = { \ _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL) #define EXPORT_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ - EXPORT_DEV_PM_OPS(name) = { \ + EXPORT_SIMPLE_PM_OPS(name) = { \ SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ } #define EXPORT_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ - EXPORT_GPL_DEV_PM_OPS(name) = { \ + EXPORT_GPL_SIMPLE_PM_OPS(name) = { \ SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ } #define EXPORT_NS_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ - EXPORT_NS_DEV_PM_OPS(name, ns) = { \ + EXPORT_NS_SIMPLE_PM_OPS(name, ns) = { \ SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ } #define EXPORT_NS_GPL_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ - EXPORT_NS_GPL_DEV_PM_OPS(name, ns) = { \ + EXPORT_NS_GPL_SIMPLE_PM_OPS(name, ns) = { \ SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ } From patchwork Mon Sep 18 08:09:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141318 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2522813vqi; Mon, 18 Sep 2023 02:13:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnVD+MqHELpn/7n9bLNmkpzLubFXM8WHt3PvWzwbhI6HAuzvUegDHwigvc2nmC9ZYHp5YV X-Received: by 2002:a17:903:120f:b0:1c3:7628:fca8 with SMTP id l15-20020a170903120f00b001c37628fca8mr7311963plh.49.1695028401898; Mon, 18 Sep 2023 02:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695028401; cv=none; d=google.com; s=arc-20160816; b=vDGMSDVCUaBmIbH7eHq86/8Xfxi0ta99mdfj8mgzRVXSvt3b7SnmF/VohA15yJoByG ofKlShilZPWg6Q1CU1H+7nzBJO8UV3xYMGJ2iQd6orlh+FKZSfCNVoQZH2oxHHFypiUS N9dfnU+KkFZKZl0AypVVmrS8ExQ5+XQJezg5j05ebFC9Rzk+oNuE5L2CdvBGLMsGUdbT epMpWgwF3KPBF8PYnXC8gwHKfT2XaBf4y3Kp3pAyxnAXo15VAFrmI8qXXy7afagsfOcY lhh6dSfdPIcUEKM6uqcRkXPR8VDK8i0J85EICNjakDY/sr31CABDVWxx99v7IvTY9yts 8y8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=EtR8SyyUspgeEWQdNZcL+MZ2umRvE733Hi7gCbmBHJg=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=WYBHpq4ANlefII9V4uIzQ80itMju8JOgKPLcoIItymT1MK2Ki8pkYZqfhqbNOs4QHq fx6YtcGwiD06kT7vIxdI3bWcwhSC3Qka0Wicg7b9wNgC52uPDrVez4VnCC48FhAeXSlH JLyHJk/sJ3u+Ubf6T3VBGfe2Ik0zrW1/eFwUAVPue68l9CWggo+8V2LXxc56XWKYzXY6 jHL21Ik11g0W3zzw6WnbXVJhRBkh4BUOOOzjQo9y9Y+jyMS3mpbXPWHjX7ulYynfTInB Hgduzm3jDONKl8gJ+h+YlfiwdEI9N4XSj1LeFjHeSq4n1OSSN+zSsj2gf1YgAQHmBglO l67Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PEV7z3Gm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y4-20020a17090322c400b001bef085a37dsi8089359plg.86.2023.09.18.02.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 02:13:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PEV7z3Gm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1892480707E4; Mon, 18 Sep 2023 01:11:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240636AbjIRILA (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240558AbjIRIKm (ORCPT ); Mon, 18 Sep 2023 04:10:42 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AD3491; Mon, 18 Sep 2023 01:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024637; x=1726560637; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=CS1x6EB+y5ievE55O1NlFBffqTHiylV0bTNIqPXKk20=; b=PEV7z3GmnQKtbRxOl9Dua5yfh5caz2ETUADcRuDMvh2uUCb+T84c7uUP uhsl9KGGnKPuXzuqezeIsTyhm5F4xLCM2wbfu8bmM0DyMhynqPboVDJ64 /btanz22Rf68iefrK/3m0sLeHMnXuh7v4G/2oqq3thWscPkAECAlHRQmJ 1cOUVOcoT31Kg97Slegs49pDhqh76UkwhvNnJuNAnlojNhees6ihPkfHJ bmllRXmN4OcJaLuz2C3X3t3poHRsGSIxT0YID+rX36sNMX9B1CBBn9B07 nrVORhkypJVn2C5LVrkWt9zzVszOHBgHnvC/g72NApxHS7obdzZLJHmdy Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410550928" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410550928" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:10:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442328" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442328" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:26 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 02/10] PM: Update EXPORT_*_DEV_PM_OPS() to EXPORT_*_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:43 +0530 Message-Id: <20230918080951.3615-3-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:11:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777366101766628352 X-GMAIL-MSGID: 1777366101766628352 Rename EXPORT_*_DEV_PM_OPS() macros to EXPORT_*_RUNTIME_PM_OPS() and while at it, move them to pm_runtime.h. This is done in conjunction with the introduction of EXPORT_*_SIMPLE_PM_OPS() set of macros, to make things less confusing. This makes both _RUNTIME_ and _SIMPLE_ variants of export macros more distinguishable and self explanatory. Signed-off-by: Raag Jadav --- include/linux/pm.h | 5 ----- include/linux/pm_runtime.h | 13 +++++++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 6e7ab6950ad1..9ab051f3a351 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -398,11 +398,6 @@ const struct dev_pm_ops name = { \ #define _EXPORT_SIMPLE_PM_OPS(name, license, ns) _PM_OPS(name, license, ns) #endif -#define EXPORT_DEV_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "", "") -#define EXPORT_GPL_DEV_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "GPL", "") -#define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "", #ns) -#define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "GPL", #ns) - #define EXPORT_SIMPLE_PM_OPS(name) _EXPORT_SIMPLE_PM_OPS(name, "", "") #define EXPORT_GPL_SIMPLE_PM_OPS(name) _EXPORT_SIMPLE_PM_OPS(name, "GPL", "") #define EXPORT_NS_SIMPLE_PM_OPS(name, ns) _EXPORT_SIMPLE_PM_OPS(name, "", #ns) diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h index 7c9b35448563..0b73b00bd59f 100644 --- a/include/linux/pm_runtime.h +++ b/include/linux/pm_runtime.h @@ -22,6 +22,11 @@ usage_count */ #define RPM_AUTO 0x08 /* Use autosuspend_delay */ +#define EXPORT_RUNTIME_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "", "") +#define EXPORT_GPL_RUNTIME_PM_OPS(name) _EXPORT_RUNTIME_PM_OPS(name, "GPL", "") +#define EXPORT_NS_RUNTIME_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "", #ns) +#define EXPORT_NS_GPL_RUNTIME_PM_OPS(name, ns) _EXPORT_RUNTIME_PM_OPS(name, "GPL", #ns) + /* * Use this for defining a set of PM operations to be used in all situations * (system suspend, hibernation or runtime PM). @@ -40,19 +45,19 @@ resume_fn, idle_fn) #define EXPORT_RUNTIME_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn) \ - EXPORT_DEV_PM_OPS(name) = { \ + EXPORT_RUNTIME_PM_OPS(name) = { \ RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ } #define EXPORT_GPL_RUNTIME_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn) \ - EXPORT_GPL_DEV_PM_OPS(name) = { \ + EXPORT_GPL_RUNTIME_PM_OPS(name) = { \ RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ } #define EXPORT_NS_RUNTIME_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn, ns) \ - EXPORT_NS_DEV_PM_OPS(name, ns) = { \ + EXPORT_NS_RUNTIME_PM_OPS(name, ns) = { \ RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ } #define EXPORT_NS_GPL_RUNTIME_DEV_PM_OPS(name, suspend_fn, resume_fn, idle_fn, ns) \ - EXPORT_NS_GPL_DEV_PM_OPS(name, ns) = { \ + EXPORT_NS_GPL_RUNTIME_PM_OPS(name, ns) = { \ RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ } From patchwork Mon Sep 18 08:09:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141425 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2691412vqi; Mon, 18 Sep 2023 07:15:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG27QgwnkbDjKYSMZjQfWZ0aOfqWuiyWslSDyY0AFA12cUWDQixC6q7I9fZfoTJb4ZqfyYI X-Received: by 2002:a05:6a21:7897:b0:148:656b:9a1f with SMTP id bf23-20020a056a21789700b00148656b9a1fmr12114324pzc.20.1695046516679; Mon, 18 Sep 2023 07:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695046516; cv=none; d=google.com; s=arc-20160816; b=L1+607TjZnAdt+eoUloOxfJBcKQtATlgNWunABEf45AlnGrWoVmscL0uEwBqHOw1IC X4LL3X7y0tQA+exiWclrVy2Z57U4qATukROhJG9TOtI2vNWNjS5ecL6fjqxAFVuDqX+o LlwC+cVGReJDvRdJfxUBU+pf346XE0kGjL3Tmgq5FLUzHd262T56310mkq6tmfGNA/iD GgRpFcNGyVmpW0iVmxSUhzk3X4qmqCeqz3BdPuMDBH0eo8E0txri+MgHoD8kyHGTv3/e kXlVKIEL0fq/XNg+l0sNEbq6Y4fWLE1xqUl2yWdSCv2DbfjLgIeA7VBiPE0bQ1/6lRpi qX/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=cGUhqSm0ow1y2hQNB7IuReZGRxGBoRWq7MpcXqekXUI=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=kHVYXu6Zv5m/KqBchEGmPvzYwReA3T/P5U9SFOw5tDA+1DVG+laMq5Rd0e+P88L5Xb C607JvPsZUzXChKEAFqUVdVcOVPe2GObuWhzVt3XucwterAwsV2Moh4djDI89vK6LWzp 6ndIm/f9QizoAO0eO806cc7CmZCdF3SSy3z9dew8xjVra2hdOoq5XOgyDkc79iJUEy2g v2PnSvWMrsjJF0avAMqqRgk1vcaxBFSjE0jJYDB7FAYezNKvbjObZMarLJfGJc07pIfo ebmIEVrA9i5isp9LGDw3pD0ASsRnMyyXOL5h7xwKtKv6IJxhZehS/CNWZ/ZnBYDrgdBK qDfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PjEVba7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id by7-20020a056a00400700b006903fc94799si6582922pfb.319.2023.09.18.07.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:15:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PjEVba7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1F7CF80B8F0A; Mon, 18 Sep 2023 01:11:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240644AbjIRILC (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240568AbjIRIKr (ORCPT ); Mon, 18 Sep 2023 04:10:47 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8865494; Mon, 18 Sep 2023 01:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024642; x=1726560642; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=RDJPisfJjUJt530FHZOgWYbOdATdjB0I5DUbkK2VW5U=; b=PjEVba7YbaNiz8pQtaU9dvIyWS1WY5JJCr0o84+raR0JfPh7ksKoipEz z24efje93XupTRcd4tb8QGB+uZx+zjqC6vkDykA9L6VlSu0sBl0+4AMp4 l4oTXCfyFTfyPgkTZuuAwBgUX+kqUx3DHf2hrWzHlyyjnrO+rQhX1+QEK 5MGEkdztyhBT3HL7T0jY8GZktBjCOSRLnupMqB7dy0n16QjssnXNZBJvx Ra9o2VTceFOPD+NRNNuGKobN4P1P0Ad2x6/2Hl2/jlB8yOVtSbhyeCSFn dclkTyX2uX2ruqrtA6AUxV8+eRC8OKd79S9K6snVpMgog8hyo3QhzrHkU Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410550976" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410550976" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:10:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442423" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442423" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:33 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 03/10] iio: accel: fxls8962af: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:44 +0530 Message-Id: <20230918080951.3615-4-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:11:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777373447205060069 X-GMAIL-MSGID: 1777385095969507674 With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/accel/fxls8962af-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/fxls8962af-core.c b/drivers/iio/accel/fxls8962af-core.c index be8a15cb945f..69e73c54047e 100644 --- a/drivers/iio/accel/fxls8962af-core.c +++ b/drivers/iio/accel/fxls8962af-core.c @@ -1282,7 +1282,7 @@ static int fxls8962af_resume(struct device *dev) return 0; } -EXPORT_NS_GPL_DEV_PM_OPS(fxls8962af_pm_ops, IIO_FXLS8962AF) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(fxls8962af_pm_ops, IIO_FXLS8962AF) = { SYSTEM_SLEEP_PM_OPS(fxls8962af_suspend, fxls8962af_resume) RUNTIME_PM_OPS(fxls8962af_runtime_suspend, fxls8962af_runtime_resume, NULL) }; From patchwork Mon Sep 18 08:09:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141407 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2629222vqi; Mon, 18 Sep 2023 05:47:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEi1qgHsa4Jtj0+l5xrvRXqGeIibOHHm8qhyXVMoccG1ED48TGtiqzaACwUFRYjH1j/b6Rc X-Received: by 2002:a17:90a:c4f:b0:267:70a8:abff with SMTP id u15-20020a17090a0c4f00b0026770a8abffmr7466255pje.29.1695041220527; Mon, 18 Sep 2023 05:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695041220; cv=none; d=google.com; s=arc-20160816; b=uH+pi9YBXDVYzfq9THK52CJww5wKHhWA4VLHn5lKL6Rik+baK/xSCuF9tnhBV7Mg82 yFkTzLIUh/6tThyUlk+UiGOyyh3z0PNXdJQ3NmqcIkeGneFX98ptFNBu6KEyYFdjoQX6 N31oW7r8BYCL7bldrDQX7zXeZ43LPvO+569vcY4nqzqnRJTxzEZ8CDpQf6saataodSKk /ASPyopyQd9WaIWw8bs73Y04Rsv+lqVDh91uvcuHRrtRzMYu16MkQ+uDAcTRXmXT5w6Z m/n/RbBhWFcY9+SKJtGHMWnPurA5nL38y9MaDSV7HxektP7J7ru5t03kdszx82wySTyX CDzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=NImuutplYUEArZzWOFhhxByWSsRtFvEpg6uPQGEqEVA=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=gIttvRRRtVp4M8GbA2Yx3lU+49LEO48qhvr/MHzAMzX/BIxj3n00iQ6Wa/NccEiogG cNS8fbo9z3OACEvtcr6LoxtWTMtfryjHG7nV7UmIBpgJ80YRKwX1Cpn6nal0qfbbrFoZ 1OQqa0/XUZ+YCBOcGXPrPCoeU8Y4AYFWmvNMCfwfbDTd5aJT0XscP54koHHO77vMd/Ry YuDgjAe/oekfeiZz3SWtLih62CcZFRKhy/MZyiG/S1WQmySB7+b8Z9f0Ev3PBhvccn3Q ZqZ3Y2ERUDeoTwkzPeRfNKGw7VBrUw8114y0YrVC/F58NxJBEV7B8UJD+UbwoMXIj3zH eNTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YNF2BEJn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id kx10-20020a17090b228a00b002768ab837bfsi254370pjb.48.2023.09.18.05.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 05:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YNF2BEJn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A9BFB80BB57B; Mon, 18 Sep 2023 01:12:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240620AbjIRILf (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240613AbjIRIKx (ORCPT ); Mon, 18 Sep 2023 04:10:53 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B87699; Mon, 18 Sep 2023 01:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024647; x=1726560647; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=r1CpW7kgq3if3Jc00gzYCuqJwiMxcedcZb4XZfdjY5A=; b=YNF2BEJnTC7FB/D9rDKLl+f9Ld+ag9epgwtUYRN8ebzvz0KBrMPx7Xp0 w8kVPZeBsFD+bIQlONXpQWd5+TcOJrCIL3/TA2wh5tuQ0TXc7uTN3/tfQ YmvVKB7u2vx5TgEpMGkwUkP0aFtRgxH40Djb4o8nd6WxDnglp7bWaWdVL 8Nns+39o2VfxW0JVy6iUClk9IliYp+pimaU+vLzj8sVfsJ6BdY45cJal0 D1dkrZjS5AZTOQGZuIbBdqN+w6Z0+C5R9CWX/KLUpgaOudLDfhVYk27mV 8Xf8x/idOtZvvtyq6EVsLPMefc6SYZJ2CEAJk31yboL0Ko+bvB3N9Iz9p Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551018" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551018" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:10:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442515" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442515" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:40 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 04/10] iio: gyro: fxas21002c: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:45 +0530 Message-Id: <20230918080951.3615-5-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:12:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777379542444282459 X-GMAIL-MSGID: 1777379542444282459 With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/gyro/fxas21002c_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/fxas21002c_core.c b/drivers/iio/gyro/fxas21002c_core.c index c28d17ca6f5e..ccea3dd7be28 100644 --- a/drivers/iio/gyro/fxas21002c_core.c +++ b/drivers/iio/gyro/fxas21002c_core.c @@ -1047,7 +1047,7 @@ static int fxas21002c_runtime_resume(struct device *dev) return fxas21002c_mode_set(data, FXAS21002C_MODE_ACTIVE); } -EXPORT_NS_GPL_DEV_PM_OPS(fxas21002c_pm_ops, IIO_FXAS21002C) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(fxas21002c_pm_ops, IIO_FXAS21002C) = { SYSTEM_SLEEP_PM_OPS(fxas21002c_suspend, fxas21002c_resume) RUNTIME_PM_OPS(fxas21002c_runtime_suspend, fxas21002c_runtime_resume, NULL) From patchwork Mon Sep 18 08:09:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2769507vqi; Mon, 18 Sep 2023 09:05:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXB7gg0gR20ACPqyz4jIEjT3CafMZXZPa92Ex+uZALw7QdRKmoV6ynzPPagi4+fA8Fph3P X-Received: by 2002:a05:6a00:845:b0:690:3abc:8043 with SMTP id q5-20020a056a00084500b006903abc8043mr9487004pfk.8.1695053119618; Mon, 18 Sep 2023 09:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695053119; cv=none; d=google.com; s=arc-20160816; b=qY9wXq/KfkXaye20L/Yn0LOF6oMEyDJXxYbH4x76TDN8tQDHKXRfTn8kHC071Lzosx v8tuvE/KQPwNqr90NjDAAJEc4ZlEOw7jwghm1l3bmpeV0prLO2Qadkxa5ycBD+KoKMd0 GFaBaGDu3dccZVQuXWkFKBmHvoMEmuxK8xjsmE+8QzIpAIEqKXAL4RmuaPW+vRq02/Y4 tz5TNlgB4lAsroxbYFlvcykgYEsQwvEIErL2plhlt+jjK0ZcmYwgiY/gSuXoU7FeYO7n N+6vjnjSFGSHnaCipz5OA/G+buPCC9juSyTeiOd2KWnvMH9fL8lw3QDy/TK0xJdXssKt Ijgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=Zuj4cUfH2iv2Lg+g9tfJK2ZBz97IjRMSggpzA13idY0=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=IYzJr4aXitB56yQzvGatsJt1JfBaDOxqd0lPZdpnnh1CuJeieVLeLGXGSB176dcPI7 AdlH24tRhfBqCIxInijQACoi+ixRWgIbFDVBUQQP9w/v5b38mZNgUiO+Sml9Dmz5+rMX nBOaKjh59IQ9IWLTlJ5P+7naIW7MGjMlrIzxuHl3oMqwla+yCR6A/V24w8yHATT3B8vO JVlUsNjrtJhsr1wkOVuOLmrPa1sQ2/xIQWaD9N2gaXYZzcuur/ABbI9z+BI8CZsQ2M4Y BJrS2xDd3cDF71nLGlGEL3prinZawy8H1urn7nM2qUZ6GxeDINChSQ4sUaE/WG6+0sS9 oErA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aOOUNf1d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x8-20020a056a000bc800b0068c0070d170si8073509pfu.334.2023.09.18.09.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aOOUNf1d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A0A6281E5D1A; Mon, 18 Sep 2023 01:12:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238592AbjIRILl (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240635AbjIRILA (ORCPT ); Mon, 18 Sep 2023 04:11:00 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4692E94; Mon, 18 Sep 2023 01:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024655; x=1726560655; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=qZ3GjX/cquXbN0My6239EnQBA462WhVjaagN9mFDH+A=; b=aOOUNf1dB8NQhFpxBfTUmLLT9+Xn7IpkF25++WlSTro29m9iaIwrxfGv ScbAczXiDuge+90WKciM8cd/Ciz3R0gcFe4FXKAbmfLnnySE2iK0OF3Mh T+1xdn75LTl1/xyGuKkQCsqGwjs8EVkbm/60brUAVdb/trRAaJEGd0frF Syvr93ISGIrQSeO7grYzr/x4nHB7TUJxZKTyZJWbv9TKRbT//ltD42l1c 63vMi0bFLJ9/cPVqE4NFwgxGxrURCdbRRE7XWg3lDwnoleMDDxiCFCw85 9hssYEXU+dF9/DYHuzhhjqvv06/UkmqxECv8b+oOMRwA/Iqb7DhtzCJVl Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551059" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551059" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:10:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442560" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442560" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:46 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 05/10] iio: imu: inv_icm42600: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:46 +0530 Message-Id: <20230918080951.3615-6-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:12:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777392020202284503 X-GMAIL-MSGID: 1777392020202284503 With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c index a5e81906e37e..d0c7e4702981 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_core.c @@ -790,7 +790,7 @@ static int inv_icm42600_runtime_resume(struct device *dev) return ret; } -EXPORT_NS_GPL_DEV_PM_OPS(inv_icm42600_pm_ops, IIO_ICM42600) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(inv_icm42600_pm_ops, IIO_ICM42600) = { SYSTEM_SLEEP_PM_OPS(inv_icm42600_suspend, inv_icm42600_resume) RUNTIME_PM_OPS(inv_icm42600_runtime_suspend, inv_icm42600_runtime_resume, NULL) From patchwork Mon Sep 18 08:09:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2801790vqi; Mon, 18 Sep 2023 09:50:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/USZzmR4s8Z1lrb6dBSGxtSwqN5YpBOhE8h3aZvyMU+olh5dsgi/B/Z1RhihdlTPJOkSL X-Received: by 2002:a17:902:e804:b0:1bf:728:7458 with SMTP id u4-20020a170902e80400b001bf07287458mr10143165plg.58.1695055810568; Mon, 18 Sep 2023 09:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695055810; cv=none; d=google.com; s=arc-20160816; b=QGy2W73Xm9gMwZRgBsB8a6aiD0p0LLgymdA/rL/+2NnYd/NXXNhNSC9Nj0V1Sd9sAD tZCwTrt1AiJt5EbUMZW/kCN7CSyuZ/vIyQ01e9mnDSKPkG33EDagiXEHJp9ZvvpIHfSq pzn/OpVIdWmt0+ePEi+t03t+yG1T88lJSWUDV3WyhzJ/OmVAHniiGt2BgIJDFgNScPMN krFgEDYnZdX5uJdu3WiYsOvAFqQQ17i9aeWrktgzVRyCw69x2yexEMMGv7xbzYT9FeZO FHjaNpm97fwnYVuvOxLk9JbDqhR5QRJR4umWK4PrQTElWtEazQKh4voXZnYf1Yg7bpM5 YazA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=RrWSlPdHLzG4H1Hq+UVdzkkm+VPyNjoUw8qzFAjO/F0=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=ZTCGADErq3vwiMeiV20+8u0/3s4sYR05erp7VbsteogCt7ntlZf4tc3qlFK7MYx32d E/VU5s40POuMVTwscoBbEeuRecZikvo67F15AbzNGZIque1eJDOqufNwn0zK1B0/LzFI deuuDGZug2sLUuGsVukNUQYCWs2QwdOz2pw1TW106gqiR5FaCdILWVlkxq1rS2ukAGEK Y9y12SjOi0LSj8PhgktJHSDyGQF2baaH1SPKMATQHZ2ijSygIVUMq74kgh+GM/ZEawAj xXnRzfqYt7yD0s95RXBzo/APcCuXaGNSGJ2mHRuWmH/L2s4CmDgDgHh7DzY1Y0xQptuk FpCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dZu+o9d0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k6-20020a170902c40600b001c3fa9a1e3esi8825240plk.493.2023.09.18.09.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dZu+o9d0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D3D4C80BE3D0; Mon, 18 Sep 2023 01:12:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235603AbjIRILr (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240657AbjIRILG (ORCPT ); Mon, 18 Sep 2023 04:11:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3CB49D; Mon, 18 Sep 2023 01:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024660; x=1726560660; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=bMaJFzdoHE251RPoOCQQLiNWqIMAearCyzsonP9+vmg=; b=dZu+o9d0xzJ0wMzJnhjDFsqHGqYaqg91dS2QeOjJySznH+HDDuXpt8ZB 83JPMpHgNhINkRS4TIYhigRtKBSiuVss6BGimDHYL4aDMpWAHtGvwN8KI FIebT0EBCnHPmrlKLM4N+S3eWzFi110x1vkqkbIGLmQHsKaZ98LNczV1I Tu1HhM0FA/XC3I5iak//VVUMY6tnZfL9dxgNMdUfdNuMId4B0G/N/REgl UkjO0nYoghuIagKRxfMavDtbMC8/s2ulnchpY3YxZmBCizeEED52Uvdpb O1tJ5OwFRd68Dpw/sjjPP1AYFsxXtkKxX2nov9MSDBBMoMHwLBmfFSI/1 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551115" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551115" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:11:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442632" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442632" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:10:54 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 06/10] iio: imu: inv_mpu: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:47 +0530 Message-Id: <20230918080951.3615-7-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:12:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777394841178672330 X-GMAIL-MSGID: 1777394841178672330 With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c index 29f906c884bd..3872514538b7 100644 --- a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c +++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c @@ -1795,7 +1795,7 @@ static int inv_mpu_runtime_resume(struct device *dev) return inv_mpu6050_set_power_itg(st, true); } -EXPORT_NS_GPL_DEV_PM_OPS(inv_mpu_pmops, IIO_MPU6050) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(inv_mpu_pmops, IIO_MPU6050) = { SYSTEM_SLEEP_PM_OPS(inv_mpu_suspend, inv_mpu_resume) RUNTIME_PM_OPS(inv_mpu_runtime_suspend, inv_mpu_runtime_resume, NULL) }; From patchwork Mon Sep 18 08:09:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141416 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2659453vqi; Mon, 18 Sep 2023 06:30:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFofS1ir9OK9iTwOuOzUA9Ic63cK6VwfNJdOxeBUs2IDhNq6g+W2LJfrpalcpFL5/NjihAI X-Received: by 2002:a05:6a00:1acd:b0:68f:d35d:217e with SMTP id f13-20020a056a001acd00b0068fd35d217emr9078401pfv.2.1695043830892; Mon, 18 Sep 2023 06:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695043830; cv=none; d=google.com; s=arc-20160816; b=BOFCbq8ZOuR2hK2xgqKTrdVSWYm0D6fnKw8xjOlh6+Vv5J66C+T8v4yHVPKKt7Hmgq eJ2VHzttF0BnlHTKJAvw0pEaozy98J7mNBgRqY+GtKUCUKd/0/0E7vHRQqhhyv44I6BF rHsprT3u2kQ4gC+KqKi5XIF8HKXOg+2nMQIr452/lwTGsHaO7Xvjlb1PlXSu8icTUBps 9u0AnjmStaeA6NI5CG0JXXYLOSWT6XoFcByojvVA771pGMLuCBLcQ4o3YD3luYeEMhZB IL0h3MTcSY5P+l2COPnzadVNT3L1L1UtgOKgg9eyarhatGJjufuJE7An7odYtH8ozfrV +Big== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=zH+ZG5FN/quxwLvWK0AhiS0GSREUTzMhzQebjHER05Q=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=pLeeouIJx0kbboLsmQluz8C9DZgZ7FwgzKe7VJV5bSYdYxrIqAHs8vQhmSmcZKghMQ cTLqm4afkpZfwBLbE8CtwJr7qzm41W0h5G8GbNdWzg7YGe0SfH+yuazkEW5ZJmpYKUXv k2zWOTjG1Zjvmvx1KwsdO13bu0XqNAOL3hslp4L26aDgl8xln+2IhyuNKlzGy6sYlTFT JFsGZkvjvyyAYyeUAj/9vbXc08/gDYNm4/lMc1DkVixHjhldXzUFhIQYhTPeGV8aUk1z GwbQ8eY6Mnxhzq/cBpdNGIr9GJgSitsZCRNJUkNWcGwqXRLp/5Tp0NUeUeljE9rg99Om DZ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XCShpkjA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x11-20020a056a00270b00b0068ff333d768si7879501pfv.384.2023.09.18.06.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 06:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XCShpkjA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EB3B6806000C; Mon, 18 Sep 2023 01:12:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240720AbjIRILw (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240700AbjIRILX (ORCPT ); Mon, 18 Sep 2023 04:11:23 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E3194; Mon, 18 Sep 2023 01:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024677; x=1726560677; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=It2kqe+kTCquWeEQ9viRQTyzWE81890eZANk3eir1zY=; b=XCShpkjAQ0gMHn8etX7HvdOOO8s6CCTBA61mqeMrm3RpEi9GcoYJc6ix bC0SeMqdLbocR62FAujuTUvNv5AHMc9yIuJaDSbuyqJPa8fQ0Szq4S3k2 gt8fyttkzQIluxPJQMhY3+szT2q2hxPWbIKoaZXROnrcmPER2yXELZvLX UxdoxWRDJddkyCk8p0NqwHstSMXRNbSNErjj0F6WkE/y2QlRJDocDFFAN 25wSnLBiuFBj4ePUQ4QceMGaBEpE+we3I2xSrebbpi2nrxlSpjGL6k0VH m+mtzRgE//GwUqPoF6x04uizRdAIz3NA/LgIG4aDjxJpT9mNEgrnkBteV g==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551213" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551213" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:11:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442689" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442689" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:11:00 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 07/10] drm/imx/dcss: convert to EXPORT_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:48 +0530 Message-Id: <20230918080951.3615-8-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:12:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777382280419764591 X-GMAIL-MSGID: 1777382280419764591 With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/gpu/drm/imx/dcss/dcss-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/dcss/dcss-dev.c b/drivers/gpu/drm/imx/dcss/dcss-dev.c index 4f3af0dfb344..8544c2db4187 100644 --- a/drivers/gpu/drm/imx/dcss/dcss-dev.c +++ b/drivers/gpu/drm/imx/dcss/dcss-dev.c @@ -318,7 +318,7 @@ static int dcss_dev_runtime_resume(struct device *dev) return 0; } -EXPORT_GPL_DEV_PM_OPS(dcss_dev_pm_ops) = { +EXPORT_GPL_RUNTIME_PM_OPS(dcss_dev_pm_ops) = { RUNTIME_PM_OPS(dcss_dev_runtime_suspend, dcss_dev_runtime_resume, NULL) SYSTEM_SLEEP_PM_OPS(dcss_dev_suspend, dcss_dev_resume) }; From patchwork Mon Sep 18 08:09:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141421 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2674490vqi; Mon, 18 Sep 2023 06:54:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGa12k17VKWzh8/GbiU3zV/Ns3pd3z6eBoayCqNIkLAfX9k118CK1ZAP8YHAP6LPVhjZwYo X-Received: by 2002:a17:90a:c981:b0:268:5c3b:6f37 with SMTP id w1-20020a17090ac98100b002685c3b6f37mr8117363pjt.0.1695045256239; Mon, 18 Sep 2023 06:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695045256; cv=none; d=google.com; s=arc-20160816; b=oMfs/FlNfNkP7kUox68L4kVF3N5yRZ+q4Vswp0QVbw2o1/NL0TJyYFaMWDT+YvJh6z RaqkZSb1a1rSdKQ+q7KsjiCdpY9y+6GDQQLFi0Jm92ubC/FbvE4yTBbJlPumJH5rYsbF Z6NDBxaJS3XAW1OMp/7B8aSUa7IUHdkNTlZqhvodAfagBlbV8Dj0+9q1TyDHFbQNoKHo XJu3PU9pefoISMH/XObIDn7X6zl8Ewl1pZ6rg8Q0K77TpJ4WZ9IHwx+M7TVbXuiZe6pO QN/vhctV8RFGXcX5+uSsSQHqLdlmFUgBEp/KLTlLP7OIq3UAyUEsOpV6zxCgj026Xvk+ QcSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=1t3sJuT7qyFToVP38/3ZfQ7Z4FprmmBr3ptjliwwDzI=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=uNyj2qWmLy/bJRSS7UjXLr+lLP618aXZTJ9ZLbS+beAexh1fmAJMSYnl+COu6Nakyo x/KPviTrjEGL9bk7L0LoGG+CFCs8uhz0NxhO5KkfG60pbUWYvvlMepVFLaUriHWPyMZJ Q0lxI3ZNAjWThgocYmr0vLQR70S/1zokgqILiPkS2ab2QX4Z49XSeKVfBoByV8wq6/Z3 oO5uQLbqAKKIi/S86jU6y+2GsAg9Or+l+I6jp/bBvFMvv/T8yIyOQb1jaGT2v+Vc6nMA 7MvlHc8ZknFJ+fUOY8futELprVqiNNyOhHOH+lhcRO1DBeWenCc12AQJ1NUfexc28NE2 J7ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=H36Q5HA4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h21-20020a17090ac39500b0026b4d5844ccsi1794473pjt.27.2023.09.18.06.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 06:54:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=H36Q5HA4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 250BF808E57C; Mon, 18 Sep 2023 01:12:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240709AbjIRILy (ORCPT + 27 others); Mon, 18 Sep 2023 04:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240705AbjIRILY (ORCPT ); Mon, 18 Sep 2023 04:11:24 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A7EC99; Mon, 18 Sep 2023 01:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024679; x=1726560679; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=JOfYWZvSrqz98ohv43tBDBTpo/UNSaZ+11aVlYab1rY=; b=H36Q5HA4xni35nZY2dUIEFEIvdnnTukfErQHm0plNLWTwyhnV8bv9rQW 8WGm1glwXTxjmCeJkFjVB3WlIE2HpTim4tYv++OQdmKu4wmenTllWKJ8O 4yTkb1ydM62Xj1yXmBI3oAAAJTyQV0v88enB+BOTi+Ysk6A7aYYL2QGlD mHsRbfxjavxHm6pwpOciP8oOzyO5sz0WnJnoY1L+ofphB667ByjvwXGCa bHPHXbDZKQukT89h95IuyEQarW6vTik3pNx4R+1Tj3jBkuNJ/nDwF5jSA felKiKPJiNMqA3Uos1sExpGCZIiv5U5KwuthKLdj/boHzSN0f5pzOEZD1 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551226" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551226" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:11:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442772" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442772" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:11:07 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 08/10] mfd: arizona: convert to EXPORT_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:49 +0530 Message-Id: <20230918080951.3615-9-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:12:42 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777383775024907283 X-GMAIL-MSGID: 1777383775024907283 With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/mfd/arizona-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index 19a0adf8ce3d..1d36deb1b79f 100644 --- a/drivers/mfd/arizona-core.c +++ b/drivers/mfd/arizona-core.c @@ -781,7 +781,7 @@ static int arizona_resume(struct device *dev) return 0; } -EXPORT_GPL_DEV_PM_OPS(arizona_pm_ops) = { +EXPORT_GPL_RUNTIME_PM_OPS(arizona_pm_ops) = { RUNTIME_PM_OPS(arizona_runtime_suspend, arizona_runtime_resume, NULL) From patchwork Mon Sep 18 08:09:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 141308 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2512555vqi; Mon, 18 Sep 2023 01:47:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtwRhMMfFhfYPMjnjhrje1hHyOvICMFwVAA4xb6ueQhAssRupFGEoZLMePbMM2Fa8nZtFS X-Received: by 2002:a17:903:1103:b0:1b9:e241:ad26 with SMTP id n3-20020a170903110300b001b9e241ad26mr11211016plh.9.1695026842807; Mon, 18 Sep 2023 01:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695026842; cv=none; d=google.com; s=arc-20160816; b=vocBYQLSeqFFTjIGSEpLLsc4f2MZoEC8zRN9+dNm4c8XBOaOatZ6LC4VWqx31xw9uG aVSNps5HdokAD/6XZMwGpaR52FGuZDT5CWtcRXY+aBGm7mQzXvxHeDnjMOga+2CqNlPQ UdmL904J/IOrMyJf3Rf+ll7cEfD5NwPJj/KrBNryu/FSoLg44hTSwAiGE/Xac7sl0siB 14KOyJghbT+EUDPA7xJ9qu+qeKPsM6FGE96A5H5AAC24VDs/H1QMidhigEzQbF9leeoe UKnJPdQTZFEQ4ySCoXXxDxemDqk9i9nAcvr4drA1PNZEs0lQz5XFYzbnUo+U88Vv2oNI y0EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=k00ra9Y2WgHhck3pgLFk2hxicDUm2pTsP8CjrkFKhhM=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=PUi26kaSGQPH80MAvGLgUcWbPHcRZcV2KmgzDVDaDb67WSqSnOf/QyCj3YASQ/4LZU yaljEzRMLKBfLrYOnOsng5qNFycvAcqyGvOAl/qkvMlJ7Vn9ulvv8bieUyqYF7tHbscF 3kYnitEcxPxlYUbr4/hDxu3AqeD22GxmhP+vNi68LcaLWZZoSuftcmEvOwuZGMw/PHrk 7lIaxh7TGHnab9Wamljt3XKsIiD/lBi+PPwQ5R/BVniG4JQL1PoM6cfaDUtXlrfqtEYN 7iXn/jZeNkiEKSzpOxct5H1Ey8E+I9YQwItNGQVvdYmOHaFOmfBbsQ+dJ7N9hiD15HD1 /j+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VBo2ik19; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z8-20020a1709027e8800b001c0a05bd4bdsi1405866pla.535.2023.09.18.01.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VBo2ik19; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id ECDBF802374F; Mon, 18 Sep 2023 01:13:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240688AbjIRIMI (ORCPT + 27 others); Mon, 18 Sep 2023 04:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240660AbjIRILi (ORCPT ); Mon, 18 Sep 2023 04:11:38 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8549599; Mon, 18 Sep 2023 01:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024692; x=1726560692; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=PvPLU7tYzqTQFRYSuGXPiWtDWsYveBtmtg1ewX9HYz8=; b=VBo2ik19edKI75FER7PkB+zsL9nYjjAqi9v/jZOZnlVmd8w+7+9wgrIr b5CML4taf01y0kzT65o5S9XfT9TuOw+MVl7yKiO5MN4GTNeaFJuyiEmCk V4/i7Ua9hVQff763VLe8GSlOJvPQIr6+3SE78m3HSxDh5fhg79lqsEk0e 4JBI8u05QV48m+zacd9nvEDoCQqXa5aMiB+09sC6tVOmFPWo0uC9tGNWk ePidSPamhOLAt1sieqtr7LLmhDDabH6AesB5gMdD9tetssrDdWl7NRvR5 GaZeCeKmzIFayWBUtS/MbVcz1LPUJCPaDhwCXnfBHi29/XrXp6bwNkWDI A==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551280" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551280" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:11:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442804" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442804" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:11:14 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 09/10] mfd: cs42l43: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:50 +0530 Message-Id: <20230918080951.3615-10-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:13:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777364466894353316 X-GMAIL-MSGID: 1777364466894353316 With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- drivers/mfd/cs42l43.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index 37b23e9bae82..b84adde9f89e 100644 --- a/drivers/mfd/cs42l43.c +++ b/drivers/mfd/cs42l43.c @@ -1177,7 +1177,7 @@ static int cs42l43_runtime_resume(struct device *dev) return ret; } -EXPORT_NS_GPL_DEV_PM_OPS(cs42l43_pm_ops, MFD_CS42L43) = { +EXPORT_NS_GPL_RUNTIME_PM_OPS(cs42l43_pm_ops, MFD_CS42L43) = { SET_SYSTEM_SLEEP_PM_OPS(cs42l43_suspend, cs42l43_resume) SET_RUNTIME_PM_OPS(cs42l43_runtime_suspend, cs42l43_runtime_resume, NULL) }; From patchwork Mon Sep 18 08:09:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 142583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4400332vqi; Wed, 20 Sep 2023 13:16:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFoXL8e14H2koayUwBkHdDYnCNBzGMQkPM7qZ+JfNsjukEuc8CHrLcNmrt3J9qXtZqCmV1T X-Received: by 2002:a17:903:1211:b0:1c3:61d9:2b32 with SMTP id l17-20020a170903121100b001c361d92b32mr2192994plh.45.1695241000268; Wed, 20 Sep 2023 13:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695241000; cv=none; d=google.com; s=arc-20160816; b=HqK0oaA+p0+z+5bzWoXbDIfWuJ4z99zziVtphO1ZIlmiqpBgvnjsISKXKQJlNoHjjF UNJWPrhJKcsGQjJSGUnTWNadzQzi8/V1bV5AG7au9EtpBNfbeDEgwj2ALLXu8Xxllebc 84x7Yy/a7qCgjA5RaBNix4p8LMz5MTBshIwvkIEy9wDTWz8iEvARMBfWMhh79ORc6Mgm 3lXjBtx6WPy2sbAIrm8PM2x2vf9YsvTGlhpSDJFe9Z9xH9pxmfmCGydpTcxnxFff0+I1 5OmhUxW9FNnIC1NcWb7SNE1gHS5NK8BfSGSqVrtXyjcn2WBJxlSYYwrGfFlmEHteX235 jAsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=bFebyG3BcVmfM6UjdzW9hmlNIftsf6aOpaNz0AxiOFw=; fh=1QsehnRRXzgQVMnszcmG8t4pVcJCGn85JlNaIfZPQ9Q=; b=a2bv/axuT81pIsNKfDoLErgZZ+nWBVofpjlJrRNUb9WQUeT5Aw8wJGzUJwq5aztyUB jkdKwXCfha1Oa37YKsirLxdCMXR+JOUpXh+VrWtfTxmcFQdKMh9r8+aeC5vCG4UOrp2U Fn08res+MagcTEFogOr7m4nb2I7v0Hm2HPTc9pujBwIbhA03bfYYKGyIgDIX4/JoaRKx Gzm2FdtwNqBDlTzdBxeoSv8+0hRMpIhH5Ts0dHB4oqEjXy5Mj7y0l3ic+vbiB1qEM++N lLsiEnmwLNpbuPKyPJqT21Hap16RH1rerJ7w85xRxCJ/zt1hHSK8FsH/GlDPectoJrSZ ofCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E6wCBSzC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q3-20020a17090311c300b001bdb92d7b19si13118237plh.101.2023.09.20.13.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 13:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E6wCBSzC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 863558023890; Mon, 18 Sep 2023 01:13:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240744AbjIRIMO (ORCPT + 27 others); Mon, 18 Sep 2023 04:12:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240681AbjIRILj (ORCPT ); Mon, 18 Sep 2023 04:11:39 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 192B5D2; Mon, 18 Sep 2023 01:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695024694; x=1726560694; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=SKBpwvJ+2z+sXH/P1raKgMvPz1M4b8A8fYC4yoa4lwM=; b=E6wCBSzCBIHziGkulYHe54BRTOvsMR2KkOrf2J8dlnjM99BVOpX+Ue6y u4SyfZlXgeuANEWbk2VYaFOxc8jloLp0ktdaaTvspP4dTtvOZqwopWKkn hkPBnro0bf82FQP2PqgXzIx/nFWe4zFKlwzDceiXPHznn5SaIAV9j0lJH ALG/EUR26avsNY+1A5TsnKbsXkMFMBgn3TbfnpeKD8Be5Fv74ZUoe9pJc 6QVXMxz+0/+kWQ8oDwBqQWJqGBZNeoPfZSQc8E36bxk5TMpJAed8x30iu 7Q6CArkcVQ0fnd3DYEdvoFkCdpUnZd/g/dV6foZ+X93wKoHCK3/AmGTau w==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410551297" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551297" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 01:11:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="695442857" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="695442857" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2023 01:11:23 -0700 From: Raag Jadav To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, Jonathan.Cameron@huawei.com, paul@crapouillou.net, andriy.shevchenko@linux.intel.com, lars@metafoo.de, rmfrfs@gmail.com, jean-baptiste.maneyrol@tdk.com, lee@kernel.org, laurentiu.palcu@oss.nxp.com, l.stach@pengutronix.de, james.schulman@cirrus.com, david.rhodes@cirrus.com, rf@opensource.cirrus.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav Subject: [PATCH for-next v2 10/10] ASoC: cs35l41: convert to EXPORT_GPL_RUNTIME_PM_OPS() Date: Mon, 18 Sep 2023 13:39:51 +0530 Message-Id: <20230918080951.3615-11-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230918080951.3615-1-raag.jadav@intel.com> References: <20230918080951.3615-1-raag.jadav@intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:13:05 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777589026877784560 X-GMAIL-MSGID: 1777589026877784560 With original macro being renamed to EXPORT_GPL_RUNTIME_PM_OPS(), use the new macro. Signed-off-by: Raag Jadav --- sound/soc/codecs/cs35l41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c index 4bc64ba71cd6..651aeaa6a5c4 100644 --- a/sound/soc/codecs/cs35l41.c +++ b/sound/soc/codecs/cs35l41.c @@ -1454,7 +1454,7 @@ static int cs35l41_sys_resume(struct device *dev) return 0; } -EXPORT_GPL_DEV_PM_OPS(cs35l41_pm_ops) = { +EXPORT_GPL_RUNTIME_PM_OPS(cs35l41_pm_ops) = { RUNTIME_PM_OPS(cs35l41_runtime_suspend, cs35l41_runtime_resume, NULL) SYSTEM_SLEEP_PM_OPS(cs35l41_sys_suspend, cs35l41_sys_resume)