[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190316045928.31934-1-tiny.windzz@gmail.com>
Date: Sat, 16 Mar 2019 00:59:24 -0400
From: Yangtao Li <tiny.windzz@...il.com>
To: rjw@...ysocki.net, len.brown@...el.com, pavel@....cz,
gregkh@...uxfoundation.org
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Yangtao Li <tiny.windzz@...il.com>
Subject: [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(-)
--
2.17.0
Powered by blists - more mailing lists