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

gpio: arizona: 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().

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20250704075408.3217690-1-sakari.ailus@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Sakari Ailus and committed by
Bartosz Golaszewski
c5f0cd2b ac725f97

-2
-2
drivers/gpio/gpio-arizona.c
··· 39 39 return ret; 40 40 41 41 if (change && persistent) { 42 - pm_runtime_mark_last_busy(chip->parent); 43 42 pm_runtime_put_autosuspend(chip->parent); 44 43 } 45 44 ··· 81 82 return ret; 82 83 } 83 84 84 - pm_runtime_mark_last_busy(chip->parent); 85 85 pm_runtime_put_autosuspend(chip->parent); 86 86 } 87 87