PM: add two device managed helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux