Skip to content
Commit 50d67838 authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

device: redefine devicetree device definition using a more generic API



For devices defined using devicetree nodes we need to pass the
devicetree node, and to infer names for the device and the driver from
it.  Devices defined in the classical way don't need this.  Introduce
another level of private abstraction that accepts the information from
either source, falling back to the old parameters when the provided
node is invalid.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent e643ee26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment