[PATCH 05/15] Input: spear-keyboard - don't include 'pm_wakeup.h' directly

Wolfram Sang posted 15 patches 3 days, 9 hours ago
[PATCH 05/15] Input: spear-keyboard - don't include 'pm_wakeup.h' directly
Posted by Wolfram Sang 3 days, 9 hours ago
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/input/keyboard/spear-keyboard.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c
index 1df4feb8ba01..18417ba19fdb 100644
--- a/drivers/input/keyboard/spear-keyboard.c
+++ b/drivers/input/keyboard/spear-keyboard.c
@@ -20,7 +20,6 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
-#include <linux/pm_wakeup.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/platform_data/keyboard-spear.h>
-- 
2.39.2
Re: [PATCH 05/15] Input: spear-keyboard - don't include 'pm_wakeup.h' directly
Posted by Dmitry Torokhov 1 day, 11 hours ago
On Mon, Nov 18, 2024 at 08:29:04AM +0100, Wolfram Sang 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@sang-engineering.com>

Applied, thank you.

-- 
Dmitry