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

Message ID 20230721121216.21816-1-yuehaibing@huawei.com
State New
Headers
Series [-next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended() |

Commit Message

Yue Haibing July 21, 2023, 12:12 p.m. UTC
  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(-)
  

Comments

Rafael J. Wysocki Aug. 22, 2023, 7:33 p.m. UTC | #1
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!
  

Patch

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);