[PATCH -next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended()

YueHaibing posted 1 patch 2 years, 6 months ago
include/linux/pm_runtime.h | 2 --
1 file changed, 2 deletions(-)
[PATCH -next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended()
Posted by YueHaibing 2 years, 6 months ago
commit 76e267d822f2 ("PM / Runtime: Remove device fields related to suspend time, v2")
left behind this.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/linux/pm_runtime.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
index 9a8151a2bdea..7c9b35448563 100644
--- a/include/linux/pm_runtime.h
+++ b/include/linux/pm_runtime.h
@@ -85,8 +85,6 @@ extern void pm_runtime_irq_safe(struct device *dev);
 extern void __pm_runtime_use_autosuspend(struct device *dev, bool use);
 extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay);
 extern u64 pm_runtime_autosuspend_expiration(struct device *dev);
-extern void pm_runtime_update_max_time_suspended(struct device *dev,
-						 s64 delta_ns);
 extern void pm_runtime_set_memalloc_noio(struct device *dev, bool enable);
 extern void pm_runtime_get_suppliers(struct device *dev);
 extern void pm_runtime_put_suppliers(struct device *dev);
-- 
2.34.1
Re: [PATCH -next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended()
Posted by Rafael J. Wysocki 2 years, 5 months ago
On Fri, Jul 21, 2023 at 2:12 PM YueHaibing <yuehaibing@huawei.com> wrote:
>
> commit 76e267d822f2 ("PM / Runtime: Remove device fields related to suspend time, v2")
> left behind this.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  include/linux/pm_runtime.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
> index 9a8151a2bdea..7c9b35448563 100644
> --- a/include/linux/pm_runtime.h
> +++ b/include/linux/pm_runtime.h
> @@ -85,8 +85,6 @@ extern void pm_runtime_irq_safe(struct device *dev);
>  extern void __pm_runtime_use_autosuspend(struct device *dev, bool use);
>  extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay);
>  extern u64 pm_runtime_autosuspend_expiration(struct device *dev);
> -extern void pm_runtime_update_max_time_suspended(struct device *dev,
> -                                                s64 delta_ns);
>  extern void pm_runtime_set_memalloc_noio(struct device *dev, bool enable);
>  extern void pm_runtime_get_suppliers(struct device *dev);
>  extern void pm_runtime_put_suppliers(struct device *dev);
> --

Applied (under a slightly edited subject) as 6.6 material, thanks!