mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 1/1] PM: Don't use "proxy" headers
@ 2025-06-26 15:42 Andy Shevchenko
  2025-07-03 15:03 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2025-06-26 15:42 UTC (permalink / raw)
  To: linux-pm, linux-kernel
  Cc: Rafael J. Wysocki, Pavel Machek, Len Brown, Andy Shevchenko

Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/pm.h | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/include/linux/pm.h b/include/linux/pm.h
index f0bd8fbae4f2..938b1b446a5d 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -8,14 +8,15 @@
 #ifndef _LINUX_PM_H
 #define _LINUX_PM_H
 
-#include <linux/export.h>
-#include <linux/list.h>
-#include <linux/workqueue.h>
-#include <linux/spinlock.h>
-#include <linux/wait.h>
-#include <linux/timer.h>
-#include <linux/hrtimer.h>
 #include <linux/completion.h>
+#include <linux/export.h>
+#include <linux/hrtimer_types.h>
+#include <linux/mutex.h>
+#include <linux/spinlock.h>
+#include <linux/types.h>
+#include <linux/util_macros.h>
+#include <linux/wait.h>
+#include <linux/workqueue_types.h>
 
 /*
  * Callbacks for platform drivers to implement.
-- 
2.47.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 1/1] PM: Don't use "proxy" headers
  2025-06-26 15:42 [PATCH v1 1/1] PM: Don't use "proxy" headers Andy Shevchenko
@ 2025-07-03 15:03 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-07-03 15:03 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-pm, linux-kernel, Rafael J. Wysocki, Pavel Machek, Len Brown

On Thu, Jun 26, 2025 at 5:42 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  include/linux/pm.h | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index f0bd8fbae4f2..938b1b446a5d 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -8,14 +8,15 @@
>  #ifndef _LINUX_PM_H
>  #define _LINUX_PM_H
>
> -#include <linux/export.h>
> -#include <linux/list.h>
> -#include <linux/workqueue.h>
> -#include <linux/spinlock.h>
> -#include <linux/wait.h>
> -#include <linux/timer.h>
> -#include <linux/hrtimer.h>
>  #include <linux/completion.h>
> +#include <linux/export.h>
> +#include <linux/hrtimer_types.h>
> +#include <linux/mutex.h>
> +#include <linux/spinlock.h>
> +#include <linux/types.h>
> +#include <linux/util_macros.h>
> +#include <linux/wait.h>
> +#include <linux/workqueue_types.h>
>
>  /*
>   * Callbacks for platform drivers to implement.
> --

Applied as 6.17 material, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-03 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-26 15:42 [PATCH v1 1/1] PM: Don't use "proxy" headers Andy Shevchenko
2025-07-03 15:03 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®