Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: sun4i-lradc-keys - don't include 'pm_wakeup.h' directly

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>

authored by

Wolfram Sang and committed by
Dmitry Torokhov
048b3ae0 a39fbef7

-1
-1
drivers/input/keyboard/sun4i-lradc-keys.c
··· 24 24 #include <linux/of.h> 25 25 #include <linux/platform_device.h> 26 26 #include <linux/pm_wakeirq.h> 27 - #include <linux/pm_wakeup.h> 28 27 #include <linux/property.h> 29 28 #include <linux/regulator/consumer.h> 30 29 #include <linux/reset.h>