Skip to content
Commit e060e4cd authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Benjamin Cabé
Browse files

device: add a DEVICE_DT_GET_BY_IDX macro



Add a DEVICE_DT_GET_BY_IDX macro to get a struct device reference for a
phandles node. This can be used directly as an argument of macros such
as DT_INST_FOREACH_PROP_ELEM_SEP.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent e161ad67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment