Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 95e6b1fa authored by Rob Herring's avatar Rob Herring
Browse files

of: use kbasename instead of open coding



Several places in DT code open code the equivalent of kbasename.
Replace them.

The behavior for root nodes in node_name_cmp will be slightly different.
Instead of comparing "/", "" will be compared. The comparison will be
the same.

Reviewed-by: default avatarAndy Shevchenko <andy.shevhchenko@gmail.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 8ee8a0e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment