Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sakari Ailus and committed by
Jonathan Cameron
6c2a7d22 4cba0d0d

-3
-1
drivers/iio/temperature/mlx90614.c
··· 225 225 if (!data->wakeup_gpio) 226 226 return; 227 227 228 - pm_runtime_mark_last_busy(&data->client->dev); 229 228 pm_runtime_put_autosuspend(&data->client->dev); 230 229 } 231 230 #else
-1
drivers/iio/temperature/mlx90632.c
··· 1043 1043 } 1044 1044 1045 1045 mlx90632_read_raw_pm: 1046 - pm_runtime_mark_last_busy(&data->client->dev); 1047 1046 pm_runtime_put_autosuspend(&data->client->dev); 1048 1047 return ret; 1049 1048 }
-1
drivers/iio/temperature/mlx90635.c
··· 749 749 } 750 750 751 751 mlx90635_read_raw_pm: 752 - pm_runtime_mark_last_busy(&data->client->dev); 753 752 pm_runtime_put_autosuspend(&data->client->dev); 754 753 return ret; 755 754 }