lkml.org 
[lkml]   [2023]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH for-next v2 05/10] iio: imu: inv_icm42600: convert to EXPORT_NS_GPL_RUNTIME_PM_OPS()
    Date
    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/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)
    --
    2.17.1
    \
     
     \ /
      Last update: 2023-09-18 10:12    [W:4.633 / U:0.728 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site