PM / Domains: Make genpd state allocation dynamic
authorLina Iyer <lina.iyer@linaro.org>
Fri, 14 Oct 2016 17:47:49 +0000 (10:47 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 20:19:36 +0000 (22:19 +0200)
commit59d65b73a23cee48e6f3e44686f199d79b7ee854
tree6950b8245adb5d2bd2b102a7b621f4945e71209c
parent1001354ca34179f3db924eb66672442a173147dc
PM / Domains: Make genpd state allocation dynamic

Allow PM Domain states to be defined dynamically by the drivers. This
removes the limitation on the maximum number of states possible for a
domain.

Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
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>
arch/arm/mach-imx/gpc.c
drivers/base/power/domain.c
include/linux/pm_domain.h