[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230918080951.3615-5-raag.jadav@intel.com>
Date: Mon, 18 Sep 2023 13:39:45 +0530
From: Raag Jadav <raag.jadav@...el.com>
To: rafael@...nel.org, len.brown@...el.com, pavel@....cz,
Jonathan.Cameron@...wei.com, paul@...pouillou.net,
andriy.shevchenko@...ux.intel.com, lars@...afoo.de,
rmfrfs@...il.com, jean-baptiste.maneyrol@....com, lee@...nel.org,
laurentiu.palcu@....nxp.com, l.stach@...gutronix.de,
james.schulman@...rus.com, david.rhodes@...rus.com,
rf@...nsource.cirrus.com
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-iio@...r.kernel.org, dri-devel@...ts.freedesktop.org,
patches@...nsource.cirrus.com,
mallikarjunappa.sangannavar@...el.com, bala.senthil@...el.com,
Raag Jadav <raag.jadav@...el.com>
Subject: [PATCH for-next v2 04/10] iio: gyro: fxas21002c: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()
With original macro being renamed to EXPORT_NS_GPL_RUNTIME_PM_OPS(),
use the new macro.
Signed-off-by: Raag Jadav <raag.jadav@...el.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)
--
2.17.1
Powered by blists - more mailing lists