mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
iio: temperature: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Crt Mori <cmo@melexis.com> Link: https://patch.msgid.link/20250825135401.1765847-13-sakari.ailus@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
4cba0d0d58
commit
6c2a7d221f
|
|
@ -225,7 +225,6 @@ static void mlx90614_power_put(struct mlx90614_data *data)
|
|||
if (!data->wakeup_gpio)
|
||||
return;
|
||||
|
||||
pm_runtime_mark_last_busy(&data->client->dev);
|
||||
pm_runtime_put_autosuspend(&data->client->dev);
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1043,7 +1043,6 @@ static int mlx90632_read_raw(struct iio_dev *indio_dev,
|
|||
}
|
||||
|
||||
mlx90632_read_raw_pm:
|
||||
pm_runtime_mark_last_busy(&data->client->dev);
|
||||
pm_runtime_put_autosuspend(&data->client->dev);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -749,7 +749,6 @@ static int mlx90635_read_raw(struct iio_dev *indio_dev,
|
|||
}
|
||||
|
||||
mlx90635_read_raw_pm:
|
||||
pm_runtime_mark_last_busy(&data->client->dev);
|
||||
pm_runtime_put_autosuspend(&data->client->dev);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user