]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: PM: s2idle: Staticise LPS0 callback functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Oct 2025 19:26:30 +0000 (21:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2025 18:39:33 +0000 (20:39 +0200)
commitbfc09902debd036e672148343c0caeab20924c9d
tree3327b5d948322090455adc70ae2d3352d4ddb8f7
parenta00f3dea0352a5fb0b67b84c72daeb6563f8e67f
ACPI: PM: s2idle: Staticise LPS0 callback functions

The LPS0 callback functions in x86/s2idle.c can be made static, so do
that and remove their declarations from sleep.h.

While at it, add the _lps0 suffix to their names to indicate that
they are LPS0-specific.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/2254836.irdbgypaU6@rafael.j.wysocki
drivers/acpi/sleep.h
drivers/acpi/x86/s2idle.c