[PATCH 0/4] PM / core: Introduce some helper for better Code reuse

From: Yangtao Li
Date: Sat Mar 16 2019 - 00:59:51 EST


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(-)

--
2.17.0