Function can_by_compatible
pub fn can_by_compatible(
compatible: &str,
ord: usize,
) -> Option<&'static CanRegistryEntry>Expand description
compatible matches either the osiris-namespaced
osiris,stm32l4-can or the canonical Zephyr
st,stm32-bxcan — both refer to the same bxCAN hardware,
and the registry stores whichever the DT node declared.
Either string accepted on lookup so callers don’t need to
know which name the board overlay used.