Skip to content

platform / x86: Convert a few drivers to struct dev_pm_ops

Rafael J. Wysocki lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5thinkpad_acpi: Drop pm_message_t arguments from suspend routinesdrivers/platform/x86/thinkpad_acpi.c+6 -61 reply
2/5thinkpad_acpi: Use struct dev_pm_ops instead of legacy PM routinesdrivers/platform/x86/thinkpad_acpi.c+6 -52 replies
3/5acer-wmi: Use struct dev_pm_ops for power managementdrivers/platform/x86/acer-wmi.c+5 -51 reply
4/5intel_mid_thermal: Use struct dev_pm_ops for power managementdrivers/platform/x86/intel_mid_thermal.c+9 -71 reply
5/5intel_ips: Remove empty legacy PM callbacksdrivers/platform/x86/intel_ips.c+0 -170 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchDurgadoss RLee, Chun-YiHenrique de Moraes Holschuh
1/5A-b
2/5A-b
3/5T-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] platform / x86: Convert a few drivers to struct dev_pm_ops

Hi all,

The following series of patches converts a few drivers under platform/x86 to using struct dev_pm_ops objects for power management istead of legacy callbacks in struct platform_driver.

The ultimate goal of this will be to get rid of PM callbacks from the platform bus type, which are only necessary because a number of drivers still use the legacy hooks.

Admittedly, I don't have the hardware to test all of the changes, but hopefully they are simple enough.

Please let me know if there are any objections.

Thanks,
Rafael