Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6058448rdb; Mon, 18 Sep 2023 02:52:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG29psC3T/3N8y8l8JQ2tcq5I1OuewD5re+dR1ICp+K/NcAJA5r0PNySz1YzvlXz4Ek3ts1 X-Received: by 2002:a9d:7dcb:0:b0:6bf:ef0:c69 with SMTP id k11-20020a9d7dcb000000b006bf0ef00c69mr8383298otn.34.1695030763881; Mon, 18 Sep 2023 02:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695030763; cv=none; d=google.com; s=arc-20160816; b=0Dp85I2lVb8pFcgUp4Y3QOhJiyTOPyIdmH2OonI9jLgOC4GCBTk/CDLgYfx7JNPHuT hlzKvjEH//MvQGPnQFAnuLon5TUQFFo11acOLvO+dQ0cNbzojfquzTAeKYFmuy9tIdBQ AB0JR3zheld2+Oyo5QovACPAVUNqLmjLi6SHUrmeOi+CPEVojv/Ba9ALSSRFzGHVUvko i5B9YskR0lMbRrgL7OMtn9mrosQ5mqRAxmOahIKz5GOM81e7nd7oNSwjwrcfIgtyOTh+ 9zXBK0p2N6jEwkDdp1GF8fMruvJ75DKej0IXvZRUQlt+P+g/Y7UJ4lNTfiM48KbrBHsw f3vg== 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 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bx29-20020a056a02051d00b0056cab36f3e1si8356789pgb.221.2023.09.18.02.52.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 02:52:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; 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 23.128.96.36 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 F0485809B098; Mon, 18 Sep 2023 01:12: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 S240617AbjIRILf (ORCPT + 99 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 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:12:06 -0700 (PDT) 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) -- 2.17.1