Skip to content

PM: Remove unused and unnecessary features from suspend and resume core

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PM: Remove pm_parent from struct dev_pm_infodrivers/base/power/main.c drivers/base/power/resume.c drivers/base/power/suspend.c +1 more+10 -370 replies
2/7PM: Remove saved_state from struct dev_pm_infoinclude/linux/pm.h+0 -10 replies
3/7PM: Simplify suspend_devicedrivers/base/power/suspend.c+18 -310 replies
4/7PM: Remove suspend and resume support from struct device_typedrivers/base/power/resume.c drivers/base/power/suspend.c include/linux/device.h+0 -1417 replies
5/7PM: Remove prev_state from struct dev_pm_infodrivers/base/power/resume.c drivers/base/power/suspend.c drivers/usb/core/hub.c +2 more+1 -120 replies
6/7PM: Remove power_state.event checks from suspend core codedrivers/base/power/suspend.c+3 -55 replies
7/7PM: Do not check parent state in suspend and resume core codedrivers/base/power/resume.c drivers/base/power/suspend.c+0 -140 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid BrownellPavel Machek
1/7A-b
2/7
3/7A-b
4/7A-b
5/7
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -mm 0/7] PM: Remove unused and unnecessary features from suspend and resume core

Hi,

The following series of patches removes some unused and unnecessary features from the suspend and resume core code.

Greetings,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth