Skip to content
Commit 59c7d571 authored by Yishai Jaffe's avatar Yishai Jaffe Committed by Benjamin Cabé
Browse files

shell: add function to get device by name or label



Added shell_device_get_binding() that wraps device_get_binding() plus
device_get_by_dt_nodelabel() so that a shell can easily get a device by
its full name or label.

Signed-off-by: default avatarYishai Jaffe <yishai1999@gmail.com>
parent d5ae99a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment