Skip to content

PM / core: Introduce some helper for better Code reuse

Yangtao Li linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PM / core: Introduce dpm_async_fn() helperdrivers/base/power/main.c+23 -391 reply
2/4PM / core: Introduce DEVICE_SUSPEND_FUNC() helper macrodrivers/base/power/main.c+12 -210 replies
3/4PM / core: Introduce ASYNC_RESUME_FUNC() helper macrodrivers/base/power/main.c+15 -310 replies
4/4PM / core: Introduce ASYNC_SUSPEND_FUNC() helper macrodrivers/base/power/main.c+16 -390 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/4] PM / core: Introduce some helper for better Code reuse

This patch set introduces some functions and macros that help reduce code duplication.

Yangtao Li (4):
PM / core: Introduce dpm_async_fn() helper
PM / core: Introduce DEVICE_SUSPEND_FUNC() helper macro PM / core: Introduce ASYNC_RESUME_FUNC() helper macro PM / core: Introduce ASYNC_SUSPEND_FUNC() helper macro

 drivers/base/power/main.c | 182 ++++++++++++--------------------------
 1 file changed, 59 insertions(+), 123 deletions(-)
Signature · 1 line
2.17.0