lkml.org 
[lkml]   [2019]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] PM / core: Introduce some helper for better Code reuse
Date
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

\
 
 \ /
  Last update: 2019-03-16 06:00    [W:0.080 / U:3.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site