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) };