Skip to content
Commit c894ad12 authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

i2c: add `_dt` variants of i2c functions



Add variants of all i2c transfer functions that accept an `i2c_dt_spec`
as the bus specifier. This helps reduce code duplication in device
drivers.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 6964fa8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment