PM: domains: Fix up terminology with parent/child
authorKees Cook <keescook@chromium.org>
Wed, 8 Jul 2020 23:32:13 +0000 (16:32 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jul 2020 12:24:00 +0000 (14:24 +0200)
commit8d87ae48ced2dffd5e7247d19eb4c88be6f1c6f1
tree8afd2854059b47a136e2ac914798334be08a2324
parentdcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258
PM: domains: Fix up terminology with parent/child

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.

There was one possible exception in the debugfs node
"pm_genpd/pm_genpd_summary" but its path has no hits outside of the
kernel itself when performing a code search[1], and it seems even this
single usage has been non-functional since it was introduced due to a
typo in the Python ("apend" instead of correct "append"). Fix the typo
while we're at it.

Link: https://codesearch.debian.net/
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
drivers/base/power/domain_governor.c
include/linux/pm_domain.h
scripts/gdb/linux/genpd.py