Describe the bug
DT_INST_FOREACH_STATUS_OKAY gives a deprecated compiler warning but the guide guides/dts/howtos still mention that it should be used.
To Reproduce
Steps to reproduce the behavior:
- Use
DT_INST_FOREACH_STATUS_OKAY in code.
- compile
Expected behavior
The documentation should mention what to use instead of the deprecated macro.
Impact
Confusion on what is the correct way for the future.
Logs and console output
../src/tmc7300.c:315:13: warning: Macro is deprecated
315 | DT_INST_FOREACH_STATUS_OKAY(CREATE_TMC7300_DEVICE)
Environment (please complete the following information):