docs: dt: unittest: Use unittest_data_add()
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
Signed-off-by Karl Mehltretter <[email protected]>
--- Documentation/devicetree/of_unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/of_unittest.rst +1 -1
@@ -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
Quoted 12 lines · Karl Mehltretter
selftest_data_add()was renamed tounittest_data_add()by commit9697a5595ece("of/unittest: replace 'selftest' with 'unittest'").Use the new name.
Fixes 9697a5595ece ("of/unittest: replace 'selftest' with 'unittest'")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/devicetree/of_unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks!