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: 13389136 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72550CD37B0 for ; Mon, 18 Sep 2023 08:10:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D580E10E202; Mon, 18 Sep 2023 08:10:56 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 720C110E202 for ; Mon, 18 Sep 2023 08:10:55 +0000 (UTC) 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="410551060" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="410551060" 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, patches@opensource.cirrus.com, mallikarjunappa.sangannavar@intel.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bala.senthil@intel.com, Raag Jadav Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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)