Skip to contentSkip to conversation

pm-graph: fix typo "hierachy" in comment

PATCH Applied Hemanth Selam 2 participants 2 messages Sep 4 – Sep 16 PM-graph utility

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pm-graph: fix typo "hierachy" in comment

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
---
 tools/power/pm-graph/sleepgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/pm-graph/sleepgraph.py +1 -1
index f6d172254829..c8bc3bed3f5a 100755
@@ -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):
Signature · 1 line
2.48.1
#1 lore raw
Quoted 16 lines · Hemanth Selam

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
---
 tools/power/pm-graph/sleepgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/pm-graph/sleepgraph.py +0 -0
index f6d172254829..c8bc3bed3f5a 100755

tools/power/pm-graph/sleepgraph.py class DevProps:

Quoted 9 lines
tools/power/pm-graph/sleepgraph.py +1 -2
@@ -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!