docs: dt: unittest: Use unittest_data_add()

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

Use the new name.

Fixes: 9697a5595e ("of/unittest: replace 'selftest' with 'unittest'")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Link: https://patch.msgid.link/20260907013030.22528-1-kmehltretter@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Karl Mehltretter 2026-09-07 03:30:30 +02:00 committed by Rob Herring (Arm)
parent 2fb6f1a87c
commit 307b773daa

View File

@ -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::