[for-next,v2,04/10] iio: gyro: fxas21002c: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()
Message ID | 20230918080951.3615-5-raag.jadav@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;kernel.ruili@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <raag.jadav@intel.com> 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 <raag.jadav@intel.com> 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: <linux-kernel.vger.kernel.org> 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 |
Series |
Fix symbol export for _SIMPLE_ variants of _PM_OPS()
|
|
Commit Message
Raag Jadav
Sept. 18, 2023, 8:09 a.m. UTC
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(),
use the new macro.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
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)