2023-07-21 12:20:38

by Yue Haibing

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

commit 76e267d822f2 ("PM / Runtime: Remove device fields related to suspend time, v2")
left behind this.

Signed-off-by: YueHaibing <[email protected]>
---
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



2023-08-22 20:21:54

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH -next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended()

On Fri, Jul 21, 2023 at 2:12 PM YueHaibing <[email protected]> wrote:
>
> commit 76e267d822f2 ("PM / Runtime: Remove device fields related to suspend time, v2")
> left behind this.
>
> Signed-off-by: YueHaibing <[email protected]>
> ---
> 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!