Skip to content
Commit 5b6de52a authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

device.h: Add macro API to get a devicename from a devicetree node



We default to use the "label" properties of a devicetree node as the
name if it exists.  If the "label" does not exist we than use the
node-name@unit-address for the node as the name.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 1da16553
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment