zephyr/drivers/watchdog
Martí Bolívar 6e8775ff84 devicetree: remove DT_HAS_NODE_STATUS_OKAY
Several reviewers agreed that DT_HAS_NODE_STATUS_OKAY(...) was an
undesirable API for the following reasons:

- it's inconsistent with the rest of the DT_NODE_HAS_FOO names
- DT_NODE_HAS_FOO_BAR_BAZ(node) was agreed upon as a shorthand
  for macros which are equivalent to
  DT_NODE_HAS_FOO(node) && DT_NODE_HAS_BAR(node) &&
- DT_NODE_HAS_BAZ(node), and DT_HAS_NODE_STATUS_OKAY is an odd duck
- DT_NODE_HAS_STATUS(..., okay) was viewed as more readable anyway
- it is seen as a somewhat aesthetically challenged name

Replace all users with DT_NODE_HAS_STATUS(..., okay), which is
semantically equivalent.

This is mostly done with sed, but a few remaining cases were done by
hand, along with whitespace, docs, and comment changes. These special
cases include the Nordic SOC static assert files.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-13 18:24:42 +02:00
..
CMakeLists.txt drivers/watchdog: Add support for SiLabs Gecko Watchdog 2020-02-03 11:25:40 -08:00
Kconfig Revert "drivers: watchdog: Make WDT_DISABLE_AT_BOOT default to y" 2020-03-04 18:25:04 +02:00
Kconfig.cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.esp32 watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.gecko drivers/watchdog: Add support for SiLabs Gecko Watchdog 2020-02-03 11:25:40 -08:00
Kconfig.mcux watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.nrfx drivers: wdt_nrfx: Add multi-instance support 2019-11-08 14:54:12 +01:00
Kconfig.sam watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.sam0 watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
Kconfig.stm32 drivers: watchdog: disable iwdg at boot on stm32 2020-03-10 15:12:20 +02:00
Kconfig.xec watchdog: Refactor how we set HAS_DTS_WDT in Kconfig 2019-11-06 13:51:20 -06:00
wdt_cmsdk_apb.c drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
wdt_esp32.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
wdt_gecko.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
wdt_handlers.c drivers: watchdog: fix system call handlers build 2020-01-06 21:36:54 -08:00
wdt_iwdg_stm32.c drivers: stm32: Convert STM32 drivers to new DT_INST macros 2020-03-26 12:22:12 -05:00
wdt_iwdg_stm32.h drivers/wdt: Rename STM32 IWDG files to follow naming rules 2019-06-04 15:34:55 -04:00
wdt_mchp_xec.c drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
wdt_mcux_wdog.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
wdt_mcux_wdog32.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
wdt_nrfx.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
wdt_sam.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
wdt_sam0.c drivers: wdt_sam0: remove log message during boot 2020-04-06 22:08:44 -04:00
wdt_wwdg_stm32.c drivers: stm32: Convert STM32 drivers to new DT_INST macros 2020-03-26 12:22:12 -05:00
wdt_wwdg_stm32.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00