diff mbox series

[02/15] drivers core: don't include 'pm_wakeup.h' directly

Message ID 20241118072917.3853-3-wsa+renesas@sang-engineering.com (mailing list archive)
State New
Headers show
Series treewide: don't include 'pm_wakeup.h' directly | expand

Commit Message

Wolfram Sang Nov. 18, 2024, 7:29 a.m. UTC
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@sang-engineering.com>
---
 drivers/base/power/sysfs.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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"