doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_
authorTom Rini <trini@konsulko.com>
Tue, 1 Apr 2025 22:55:25 +0000 (16:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 18:16:44 +0000 (12:16 -0600)
commitfa72470a4ec5522fe92986bb53b22167d35d0913
tree8fb582e2b8406dbda0bd019ad50bc3b8616a6568
parent0471f8d0012ff9794014d222151acb65ce387550
doc/develop/codingstyle.rst: Expand to include CONFIG_IS_ENABLED and PHASE_

Expand the conditional compilation section to explain when to use
CONFIG_IS_ENABLED rather than IS_ENABLED and provide an example. Next,
note what the PHASE_ macro is supposed to be used for as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
doc/develop/codingstyle.rst