PM / Domains: Save the fwnode in genpd_power_state
authorLina Iyer <lina.iyer@linaro.org>
Fri, 14 Oct 2016 17:47:52 +0000 (10:47 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 20:20:27 +0000 (22:20 +0200)
commit0c9b694a8a7d4853318c4f2ce315afa2bd3664b6
treeef7ff510c3b1ef6b06dd7979d5ed30193d2a0838
parent30f604283e05d34cb10108c7ba017e5f4fc9d62c
PM / Domains: Save the fwnode in genpd_power_state

Save the fwnode for the genpd state in the state node. PM Domain clients
may use the fwnode to read in the platform specific domain state
properties and associate them with the state.

Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h