[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241118072917.3853-1-wsa+renesas@sang-engineering.com>
Date: Mon, 18 Nov 2024 08:28:59 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-kernel@...r.kernel.org
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Andrew Lunn <andrew@...n.ch>,
Andrew Lunn <andrew+netdev@...n.ch>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Armin Wolf <W_Armin@....de>,
Benjamin Tissoires <bentiss@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Borislav Petkov <bp@...en8.de>,
Chandrashekar Devegowda <chandrashekar.devegowda@...el.com>,
Chen-Yu Tsai <wens@...e.org>,
coresight@...ts.linaro.org,
Dave Hansen <dave.hansen@...ux.intel.com>,
"David S. Miller" <davem@...emloft.net>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans de Goede <hdegoede@...hat.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>,
Jakub Kicinski <kuba@...nel.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Jiri Kosina <jikos@...nel.org>,
Len Brown <len.brown@...el.com>,
linux-arm-kernel@...ts.infradead.org,
linux-input@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-media@...r.kernel.org,
linux-mmc@...r.kernel.org,
linux-pci@...r.kernel.org,
linux-pm@...r.kernel.org,
linux-rtc@...r.kernel.org,
linux-sunxi@...ts.linux.dev,
linux-usb@...r.kernel.org,
Loic Poulain <loic.poulain@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>,
Pavel Machek <pavel@....cz>,
platform-driver-x86@...r.kernel.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
Samuel Holland <samuel@...lland.org>,
Sean Young <sean@...s.org>,
Sergey Ryazanov <ryazanov.s.a@...il.com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Ulf Hansson <ulf.hansson@...aro.org>,
x86@...nel.org
Subject: [PATCH 00/15] treewide: don't include 'pm_wakeup.h' directly
While working on the wakeup functionality of a RTC driver, I noticed
that we have a few occasions where 'pm_wakeup.h' gets included directly
despite the comment that it shouldn't be done. It doesn't build-break
because these files also include 'device.h' either directly or via some
indirection, mostly 'platform_device.h'. Still, respect the requirement
that 'pm_wakeup.h' shall only be included in 'device.h' and not
directly.
Based on 6.12-rc7. Build-bot is happy and there are no dependencies. I
suggest that each patch goes in via the relevant subsystem tree.
Thanks and happy hacking,
Wolfram
Wolfram Sang (15):
x86/platform/olpc-xo1-sci: don't include 'pm_wakeup.h' directly
drivers core: don't include 'pm_wakeup.h' directly
HID: google: don't include 'pm_wakeup.h' directly
coresight: etm4x: don't include 'pm_wakeup.h' directly
Input: spear-keyboard - don't include 'pm_wakeup.h' directly
Input: sun4i-lradc-keys - don't include 'pm_wakeup.h' directly
media: mceusb: don't include 'pm_wakeup.h' directly
mmc: core: don't include 'pm_wakeup.h' directly
net: phy: broadcom: don't include 'pm_wakeup.h' directly
net: wwan: t7xx: don't include 'pm_wakeup.h' directly
PCI: don't include 'pm_wakeup.h' directly
platform/x86: quickstart: don't include 'pm_wakeup.h' directly
rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
usb: typec: tcpci_mt6370: don't include 'pm_wakeup.h' directly
PM / Sleep: don't include 'pm_wakeup.h' directly
arch/x86/platform/olpc/olpc-xo1-sci.c | 1 -
drivers/base/power/sysfs.c | 1 -
drivers/hid/hid-google-hammer.c | 1 -
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 -
drivers/input/keyboard/spear-keyboard.c | 1 -
drivers/input/keyboard/sun4i-lradc-keys.c | 1 -
drivers/media/rc/mceusb.c | 1 -
drivers/mmc/core/core.c | 1 -
drivers/mmc/core/host.c | 1 -
drivers/net/phy/broadcom.c | 2 +-
drivers/net/wwan/t7xx/t7xx_pci.c | 1 -
drivers/pci/pci.c | 1 -
drivers/platform/x86/quickstart.c | 1 -
drivers/rtc/rtc-brcmstb-waketimer.c | 1 -
drivers/usb/typec/tcpm/tcpci_mt6370.c | 1 -
kernel/power/autosleep.c | 1 -
16 files changed, 1 insertion(+), 16 deletions(-)
--
2.39.2
Powered by blists - more mailing lists