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)