Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
of/selftest: Fix testing when /aliases is missing
The /aliases node isn't always present in the device tree, but the unittest code assumes that /aliases is there. Add a check when inserting the testcase data to see if of_aliases needs to be updated, and undo the settings when the nodes are removed. Signed-off-by: Grant Likely <[email protected]> Cc: Rob Herring <[email protected]> Cc: Gaurav Minocha <[email protected]> Cc: <[email protected]>
- Loading branch information