Re: [PATCH] soc/tegra: pmc: Use consistent naming for PM domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/11/16 10:08, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
> 
> 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".
> 
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> ---
>  drivers/soc/tegra/pmc.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
> index 84d1623d8d79..933b06abe8a2 100644
> --- a/drivers/soc/tegra/pmc.c
> +++ b/drivers/soc/tegra/pmc.c
> @@ -867,19 +867,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;

Acked-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Cheers
Jon

-- 
nvpublic
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux