[PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly

Wolfram Sang posted 1 patch 10 months, 1 week ago
drivers/hid/hid-google-hammer.c | 1 -
1 file changed, 1 deletion(-)
[PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly
Posted by Wolfram Sang 10 months, 1 week ago
The header clearly states that it does not want to be included directly,
only via '<linux/(platform_)?device.h>'. Which is already present, so
delete the superfluous include.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Jiri Kosina <jkosina@suse.com>
---
 drivers/hid/hid-google-hammer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hid/hid-google-hammer.c b/drivers/hid/hid-google-hammer.c
index 0f292b5d3e26..adb4f48804e5 100644
--- a/drivers/hid/hid-google-hammer.c
+++ b/drivers/hid/hid-google-hammer.c
@@ -22,7 +22,6 @@
 #include <linux/platform_data/cros_ec_commands.h>
 #include <linux/platform_data/cros_ec_proto.h>
 #include <linux/platform_device.h>
-#include <linux/pm_wakeup.h>
 #include <linux/unaligned.h>
 
 #include "hid-ids.h"
-- 
2.45.2
Re: [PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly
Posted by Jiri Kosina 10 months ago
On Mon, 10 Feb 2025, Wolfram Sang wrote:

> The header clearly states that it does not want to be included directly,
> only via '<linux/(platform_)?device.h>'. Which is already present, so
> delete the superfluous include.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs