diff options
author | Thierry Reding <treding@nvidia.com> | 2016-11-08 13:05:03 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-11-15 17:51:56 +0300 |
commit | 4522112069a976908e32e5dd3231c9272d19794a (patch) | |
tree | b827f7a58633b50aecb50a82a4680ab1b4700e62 /drivers/soc | |
parent | 0b137340d04b9dfa911cc882bc26ed611671f5f5 (diff) | |
download | linux-4522112069a976908e32e5dd3231c9272d19794a.tar.xz |
soc/tegra: pmc: Use consistent naming for PM domains
The various error messages refer to the PM domains as "power domain",
"genpd" and "PM domain". That's confusing, so convert all error messages
to use the most prominent: "PM domain".
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/tegra/pmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 3400ec355adb..e233dd5dcab3 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -865,19 +865,19 @@ static void tegra_powergate_add(struct tegra_pmc *pmc, struct device_node *np) err = pm_genpd_init(&pg->genpd, NULL, off); if (err < 0) { - pr_err("failed to initialise power domain %s: %d\n", np->name, + pr_err("failed to initialise PM domain %s: %d\n", np->name, err); goto remove_resets; } err = of_genpd_add_provider_simple(np, &pg->genpd); if (err < 0) { - pr_err("failed to add genpd provider for %s: %d\n", np->name, - err); + pr_err("failed to add PM domain provider for %s: %d\n", + np->name, err); goto remove_genpd; } - pr_debug("added power domain %s\n", pg->genpd.name); + pr_debug("added PM domain %s\n", pg->genpd.name); return; |