Skip to content

PM: Fix some unused function warnings for CONFIG_PM_SLEEP

Rafael J. Wysocki linux-acpi lkml platform-driver-x86 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI / PM: Fix unused function warnings for CONFIG_PM_SLEEPdrivers/acpi/ac.c drivers/acpi/battery.c drivers/acpi/button.c +4 more+24 -00 replies
2/3platform / x86/ PM: Fix unused function warnings for CONFIG_PM_SLEEPdrivers/platform/x86/classmate-laptop.c drivers/platform/x86/fujitsu-tablet.c drivers/platform/x86/hdaps.c +8 more+38 -20 replies
3/3tpm_tis / PM: Fix unused function warning for CONFIG_PM_SLEEPdrivers/char/tpm/tpm_tis.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] PM: Fix some unused function warnings for CONFIG_PM_SLEEP

Hi all,

The recent conversion to the PM handling based on struct dev_pm_ops uncovered some code that is not used for CONFIG_PM_SLEEP unset, which results in a number of new copiler warning.

Admittedly, I should have spotted those places before, but anyway patches fixing those for ACPI, platform/x86 and tpm_tis follow.

Thanks,
Rafael