[PATCH] pm-graph: fix typo "hierachy" in comment

Hemanth Selam posted 1 patch 3 weeks ago
tools/power/pm-graph/sleepgraph.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] pm-graph: fix typo "hierachy" in comment
Posted by Hemanth Selam 3 weeks ago
Correct "hierachy" to "hierarchy", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches comments, no
code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 tools/power/pm-graph/sleepgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/pm-graph/sleepgraph.py b/tools/power/pm-graph/sleepgraph.py
index f6d172254829..c8bc3bed3f5a 100755
--- a/tools/power/pm-graph/sleepgraph.py
+++ b/tools/power/pm-graph/sleepgraph.py
@@ -1448,7 +1448,7 @@ class DevProps:
 
 # Class: DeviceNode
 # Description:
-#	 A container used to create a device hierachy, with a single root node
+#	 A container used to create a device hierarchy, with a single root node
 #	 and a tree of child nodes. Used by Data.deviceTopology()
 class DeviceNode:
 	def __init__(self, nodename, nodedepth):
-- 
2.48.1
Re: [PATCH] pm-graph: fix typo "hierachy" in comment
Posted by Rafael J. Wysocki (Intel) 1 week, 2 days ago
On Fri, Sep 4, 2026 at 1:53 PM Hemanth Selam <hemanth.selam@gmail.com> wrote:
>
> Correct "hierachy" to "hierarchy", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt.  Only touches comments, no
> code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  tools/power/pm-graph/sleepgraph.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/power/pm-graph/sleepgraph.py b/tools/power/pm-graph/sleepgraph.py
> index f6d172254829..c8bc3bed3f5a 100755
> --- a/tools/power/pm-graph/sleepgraph.py
> +++ b/tools/power/pm-graph/sleepgraph.py
> @@ -1448,7 +1448,7 @@ class DevProps:
>
>  # Class: DeviceNode
>  # Description:
> -#       A container used to create a device hierachy, with a single root node
> +#       A container used to create a device hierarchy, with a single root node
>  #       and a tree of child nodes. Used by Data.deviceTopology()
>  class DeviceNode:
>         def __init__(self, nodename, nodedepth):
> --

Applied as 7.4 material, thanks!