cfriedt/greybus-for-zephyr

subsys: greybus: update devicetree macros

Closed this issue · 0 comments

Some macros were deprecated in zephyrproject-rtos/zephyr#30766

DEVICE_AND_API_INIT -> DEVICE_DT_INST_DEFINE
DEVICE_GET -> DEVICE_DT_INST_GET
DEVICE_DECLARE -> DEVICE_DT_INST_DECLARE

Currently there are warnings from the toolchain and we would have liked to get rid of all warnings in #1