diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2022-05-11 16:57:02 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-05-19 20:16:05 +0200 |
commit | f38d1a6d002526a4e8840e9bb19733e9d4ce1a67 (patch) | |
tree | 9cab2d3e5f7ee14d52d9b5f146c28d87be45aae7 /drivers/base/regmap/regmap-w1.c | |
parent | ba43d6db6e5c6d0b5f58d6487285ed58ba94c5df (diff) | |
download | linux-f38d1a6d002526a4e8840e9bb19733e9d4ce1a67.tar.bz2 |
PM: domains: Allocate governor data dynamically based on a genpd governor
If a genpd doesn't have an associated governor assigned, several variables
in the struct generic_pm_domain becomes superfluous.
Rather than wasting memory in allocated genpds, let's move the variables
from the struct generic_pm_domain into a new separate struct. In this way,
we can instead dynamically decide when we need to allocate the
corresponding data for it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/regmap/regmap-w1.c')
0 files changed, 0 insertions, 0 deletions