[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210727210202.717181-1-dmitry.baryshkov@linaro.org>
Date: Wed, 28 Jul 2021 00:02:00 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
linux-arm-msm@...r.kernel.org
Subject: PM: add two device managed helpers
Qualcomm clock controller code (and most probably other drivers) would
benefit from having devres helpers for pm_runtime_enable() and
pm_clk_create(). Add those two helpers.
----------------------------------------------------------------
Dmitry Baryshkov (2):
PM: runtime: add devm_pm_runtime_enable helper
PM: clk: add devm_pm_clk_create helper
drivers/base/power/clock_ops.c | 17 +++++++++++++++++
drivers/base/power/runtime.c | 17 +++++++++++++++++
include/linux/pm_clock.h | 5 +++++
include/linux/pm_runtime.h | 4 ++++
4 files changed, 43 insertions(+)
Powered by blists - more mailing lists