Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3137bd89 authored by Ulf Hansson's avatar Ulf Hansson Committed by Dyneteve
Browse files

PM / runtime: Fetch runtime PM callbacks using a macro



While fetching the proper runtime PM callback, we walk the hierarchy of
device's power domains, subsystems and drivers.

This is common for rpm_suspend(), rpm_idle() and rpm_resume(). Let's
clean up the code by using a macro that handles this.

Change-Id: I1e765836f5655b11ab9d46c1dda937fc053d679f
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarmydongistiny <jaysonedson@gmail.com>
Signed-off-by: default avatarAlbert I <krascgq@outlook.co.id>
parent 2c39ef11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment