linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly
@ 2025-02-10 11:36 Wolfram Sang
  2025-02-19  8:59 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2025-02-10 11:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Jiri Kosina, Jiri Kosina, Benjamin Tissoires,
	linux-input

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


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

* Re: [PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly
  2025-02-10 11:36 [PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly Wolfram Sang
@ 2025-02-19  8:59 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2025-02-19  8:59 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-kernel, Benjamin Tissoires, linux-input

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


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

end of thread, other threads:[~2025-02-19  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 11:36 [PATCH RESEND] HID: google: don't include '<linux/pm_wakeup.h>' directly Wolfram Sang
2025-02-19  8:59 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).