]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
usb: typec: tcpci_mt6370: don't include 'pm_wakeup.h' directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Nov 2024 07:29:13 +0000 (08:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2024 15:03:22 +0000 (16:03 +0100)
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>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20241118072917.3853-15-wsa+renesas@sang-engineering.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_mt6370.c

index 1479f961772d0d33bbc3902f6b78d93bebf447c6..ed822f438a09ee1387b9629bf3104a001ce377bb 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <linux/pm_wakeup.h>
 #include <linux/pm_wakeirq.h>
 #include <linux/regmap.h>
 #include <linux/regulator/consumer.h>