Use shell_device_get_binding() instead of device_get_binding() so that we get the device based on its name and in addition by its label. Signed-off-by: Yishai Jaffe <yishai1999@gmail.com> |
||
|---|---|---|
| .. | ||
| bbram_emul.c | ||
| bbram_handlers.c | ||
| bbram_it8xxx2.c | ||
| bbram_it8xxx2_emul.c | ||
| bbram_microchip_mcp7940n.c | ||
| bbram_microchip_mcp7940n_emul.c | ||
| bbram_npcx.c | ||
| bbram_npcx_emul.c | ||
| bbram_shell.c | ||
| bbram_stm32.c | ||
| bbram_xec.c | ||
| CMakeLists.txt | ||
| it8xxx2.h | ||
| Kconfig | ||
| Kconfig.bbram_emul | ||
| Kconfig.it8xxx2 | ||
| Kconfig.microchip | ||
| Kconfig.npcx | ||
| Kconfig.stm32 | ||
| Kconfig.xec | ||
| npcx.h | ||