Re: [PATCH 02/15] drivers core: don't include 'pm_wakeup.h' directly
From: Rafael J. Wysocki
Date: Thu Dec 05 2024 - 06:17:53 EST
On Mon, Nov 18, 2024 at 8:29 AM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> The header clearly states that it does not want to be included directly,
> only via 'device.h'. 'platform_device.h' works equally well. Remove the
> direct inclusion.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/base/power/sysfs.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c
> index a1474fb67db9..82ce2d9f54e5 100644
> --- a/drivers/base/power/sysfs.c
> +++ b/drivers/base/power/sysfs.c
> @@ -6,7 +6,6 @@
> #include <linux/export.h>
> #include <linux/pm_qos.h>
> #include <linux/pm_runtime.h>
> -#include <linux/pm_wakeup.h>
> #include <linux/atomic.h>
> #include <linux/jiffies.h>
> #include "power.h"
> --
Applied as 6.14 material, thanks!