Skip to contentSkip to conversation

docs: dt: unittest: Use unittest_data_add()

PATCH Applied Karl Mehltretter 2 participants 2 messages Sep 7 – Sep 17 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: dt: unittest: Use unittest_data_add()

selftest_data_add() was renamed to unittest_data_add() by commit 9697a5595ece ("of/unittest: replace 'selftest' with 'unittest'").

Use the new name.

Fixes 9697a5595ece ("of/unittest: replace 'selftest' with 'unittest'")
Assisted-by LLM
---
 Documentation/devicetree/of_unittest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/of_unittest.rst +1 -1
index 6ed6e3291964..5ea8ee0e81ef 100644
@@ -125,7 +125,7 @@ Figure 1: Generic structure of un-flattened device tree
 
 
 Before executing OF unittest, it is required to attach the test data to
-machine's device tree (if present). So, when selftest_data_add() is called,
+machine's device tree (if present). So, when unittest_data_add() is called,
 at first it reads the flattened device tree data linked into the kernel image
 via the following kernel symbols::
 

base-commit: 986c24e0fe44f844b44d365b71ce831947f50298

Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 12 lines · Karl Mehltretter

selftest_data_add() was renamed to unittest_data_add() by commit 9697a5595ece ("of/unittest: replace 'selftest' with 'unittest'").

Use the new name.

Fixes 9697a5595ece ("of/unittest: replace 'selftest' with 'unittest'")
Assisted-by LLM
---
 Documentation/devicetree/of_unittest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!