LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* PM: add two device managed helpers
@ 2021-07-27 21:02 Dmitry Baryshkov
  2021-07-27 21:02 ` [PATCH 1/2] PM: runtime: add devm_pm_runtime_enable helper Dmitry Baryshkov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Dmitry Baryshkov @ 2021-07-27 21:02 UTC (permalink / raw)
  To: Rafael J. Wysocki, Pavel Machek, Greg Kroah-Hartman
  Cc: linux-pm, linux-kernel, Andy Gross, Bjorn Andersson, linux-arm-msm

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-28 10:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 21:02 PM: add two device managed helpers Dmitry Baryshkov
2021-07-27 21:02 ` [PATCH 1/2] PM: runtime: add devm_pm_runtime_enable helper Dmitry Baryshkov
2021-07-27 21:02 ` [PATCH 2/2] PM: clk: add devm_pm_clk_create helper Dmitry Baryshkov
2021-07-28  6:23 ` PM: add two device managed helpers Greg Kroah-Hartman
2021-07-28 10:40 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).