aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/bh1780.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2025-08-25 16:53:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-25 16:13:25 +0100
commite15f23dd5305d123b571aeee56415d9e90f06ca4 (patch)
treea053931377b206d8e3abdba806254f2f41d106f4 /drivers/iio/light/bh1780.c
parentiio: imu: Remove redundant pm_runtime_mark_last_busy() calls (diff)
downloadlinux-e15f23dd5305d123b571aeee56415d9e90f06ca4.tar.gz
linux-e15f23dd5305d123b571aeee56415d9e90f06ca4.zip
iio: light: 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> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patch.msgid.link/20250825135401.1765847-9-sakari.ailus@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/bh1780.c')
-rw-r--r--drivers/iio/light/bh1780.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/bh1780.c b/drivers/iio/light/bh1780.c
index c7c877d2fe67..5d3c6d5276ba 100644
--- a/drivers/iio/light/bh1780.c
+++ b/drivers/iio/light/bh1780.c
@@ -111,7 +111,6 @@ static int bh1780_read_raw(struct iio_dev *indio_dev,
value = bh1780_read_word(bh1780, BH1780_REG_DLOW);
if (value < 0)
return value;
- pm_runtime_mark_last_busy(&bh1780->client->dev);
pm_runtime_put_autosuspend(&bh1780->client->dev);
*val = value;