Re: [PATCH v2] genpd: Fix up terminology with parent/child

From: Joe Perches
Date: Fri Jul 10 2020 - 13:13:59 EST


On Wed, 2020-07-08 at 16:32 -0700, Kees Cook wrote:
> The genpd infrastructure uses the terms master/slave, but such uses have
> no external exposures (not even in Documentation/driver-api/pm/*) and are
> not mandated by nor associated with any external specifications. Change
> the language used through-out to parent/child.

Thanks.

Perhaps change a couple more references:

$ grep -i -P '(?:master|slave)' drivers/cpuidle/cpuidle-psci-domain.c
/* Link genpd masters/subdomains to model the CPU topology. */
$ grep -i -P '(?:master|slave)' drivers/opp/core.c
* genpd and its master have one to one mapping of performance states