]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Input: sun4i-lradc-keys - don't include 'pm_wakeup.h' directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Nov 2024 07:29:05 +0000 (08:29 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 Nov 2024 05:35:54 +0000 (21:35 -0800)
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>
Link: https://lore.kernel.org/r/20241118072917.3853-7-wsa+renesas@sang-engineering.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/sun4i-lradc-keys.c

index f1e269605f05a7509805a77f1157142856e50c7f..5730f08f82d79abe18eb0ffc9f25ac4bc4f464c4 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/pm_wakeirq.h>
-#include <linux/pm_wakeup.h>
 #include <linux/property.h>
 #include <linux/regulator/consumer.h>
 #include <linux/reset.h>