summaryrefslogtreecommitdiffstats
path: root/drivers/soc/tegra
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-12-01 02:23:39 +0300
committerThierry Reding <treding@nvidia.com>2021-12-16 14:03:38 +0100
commit81c4c86c66650f61c6d7a712737d43a3e4d072bf (patch)
tree2589cd30c173c8c7cc308e6c11e3d8870fdefb2a /drivers/soc/tegra
parent8d1a3411da0c90f506c5e2f69529f4ba2954d3a3 (diff)
downloadlinux-81c4c86c66650f61c6d7a712737d43a3e4d072bf.tar.gz
linux-81c4c86c66650f61c6d7a712737d43a3e4d072bf.tar.bz2
linux-81c4c86c66650f61c6d7a712737d43a3e4d072bf.zip
soc/tegra: pmc: Rename core power domain
CORE power domain uses name of device-tree node, which is inconsistent with the names of PMC domains. Set the name to "core" to make it consistent. Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc/tegra')
-rw-r--r--drivers/soc/tegra/pmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index cc8c22327311..5aceacbd8ce0 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -1370,7 +1370,7 @@ static int tegra_pmc_core_pd_add(struct tegra_pmc *pmc, struct device_node *np)
if (!genpd)
return -ENOMEM;
- genpd->name = np->name;
+ genpd->name = "core";
genpd->set_performance_state = tegra_pmc_core_pd_set_performance_state;
genpd->opp_to_performance_state = tegra_pmc_core_pd_opp_to_performance_state;