diff mbox series

[15/15] PM / Sleep: don't include 'pm_wakeup.h' directly

Message ID 20241118072917.3853-16-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>
---
 kernel/power/autosleep.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/kernel/power/autosleep.c b/kernel/power/autosleep.c
index b29c8aca7486..865df641b97c 100644
--- a/kernel/power/autosleep.c
+++ b/kernel/power/autosleep.c
@@ -9,7 +9,6 @@ 
 
 #include <linux/device.h>
 #include <linux/mutex.h>
-#include <linux/pm_wakeup.h>
 
 #include "power.h"