Skip to content
Commit 4aac1756 authored by Michał Barnaś's avatar Michał Barnaś Committed by Carles Cufí
Browse files

i2c: use device instead of name for i2c dump messages



This commit changes the parameter of i2c_dump_msgs function from
string name to pointer to the device structure.
It allows for comparison of device pointers and allow to use
the printed device name in i2c shell commands.

Signed-off-by: default avatarMichał Barnaś <mb@semihalf.com>
parent 7188f925
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment