PM / Domains: Export of_genpd_get_from_provider function
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Mon, 15 Dec 2014 03:38:59 +0000 (09:08 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 17 Dec 2014 01:33:34 +0000 (02:33 +0100)
commit7496fcbe8a643097efc061160e1c3b65ee2fa350
tree51ea842076e5eed2360f1b2e54ca52b4b67b9294
parentcffa91380d6dd29befe7608e052693698b78dc9c
PM / Domains: Export of_genpd_get_from_provider function

This function looks up a PM domain form the provider. This will be
useful to add parent/child domain relationship from the SoC specific
code. The caller of the function must make sure that PM domain provider
is already registered.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h